Skip to content

Feat: Sort by Column Header - #1504

Open
the-narwhal wants to merge 2 commits into
frappe:masterfrom
the-narwhal:sort-by-column
Open

Feat: Sort by Column Header#1504
the-narwhal wants to merge 2 commits into
frappe:masterfrom
the-narwhal:sort-by-column

Conversation

@the-narwhal

@the-narwhal the-narwhal commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Implement fixes #1485. Clicking a column header in any list view now sorts the table by that column. Clicking the same header again toggles between ascending and descending order. A chevron indicator shows the active sort column and direction; a faint chevron appears on hover for other sort-able columns.

Columns that are not real database fields (computed values like Status within the Journal Entries view, or child Table fields) are excluded from sorting, clicking them does nothing.

Initial View, sorted by created date:
Screenshot 2026-04-04 at 5 18 21 PM

Sorted by Item Name:
Screenshot 2026-04-04 at 5 18 27 PM

Sorted by Rate Asc:
Screenshot 2026-04-04 at 5 18 33 PM

Sorted by Rate Desc:
Screenshot 2026-04-04 at 5 18 37 PM

@the-narwhal
the-narwhal marked this pull request as ready for review April 4, 2026 22:05
@the-narwhal the-narwhal changed the title Sort by Column Header Feat: Sort by Column Header Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature Request] - Sort by column

1 participant