Repository navigation
Commit 1002da8
committed
feat(plugin-grid): order a grouped grid's groups by the level's orderBy
A level naming grouping.fields[].orderBy now orders its groups by that
field: the server path forwards orderBy into the header query and reads
the min/max column listViewGroupOrderColumn names; the client path folds
min (asc) / max (desc) from each group's rows. Nulls sort last in both
directions; ties fall back to the key comparison in the same direction.
Claude-Session: https://claude.ai/code/session_01Baqv5mDLFH63hvh9G4YGn5
Co-authored-by: Claude <noreply@anthropic.com>1 parent d5f4c2a commit 1002da8
4 files changed
Lines changed: 504 additions & 21 deletions
File tree
- ui/packages/plugin-grid/src
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3430 | 3430 | | |
3431 | 3431 | | |
3432 | 3432 | | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
3433 | 3438 | | |
3434 | 3439 | | |
3435 | 3440 | | |
3436 | 3441 | | |
3437 | | - | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
3438 | 3448 | | |
3439 | 3449 | | |
3440 | 3450 | | |
3441 | | - | |
3442 | | - | |
| 3451 | + | |
| 3452 | + | |
3443 | 3453 | | |
3444 | 3454 | | |
| 3455 | + | |
3445 | 3456 | | |
3446 | 3457 | | |
3447 | 3458 | | |
| |||
0 commit comments