Skip to content

feat(tree): keep is_total_row and blank rows in place on sort - #249

Merged
iamejaaz merged 1 commit into
frappe:masterfrom
iamejaaz:feat/keep-total-rows-in-place
Nov 19, 2026
Merged

iamejaaz merged 1 commit into
frappe:masterfrom
iamejaaz:feat/keep-total-rows-in-place

Conversation

@iamejaaz

@iamejaaz iamejaaz commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Before, sorted by Debit descending:

Before

After:

After

  • Rows sent with is_total_row: 1 stay where they are when a tree table is sorted, so a total stays under its section.
  • Blank rows stay in place too, and the rows between them sort within that group.
  • Tables without the flag or blank rows sort as before.

Alternative to #247: the row says it is a total, instead of the table guessing from its position.

@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant