fix(accounting): show latest journal entries first by default
The table fell back to the backend's own default order (entry_date, id ascending) until a maker clicked a column header, so the oldest entries sat at the top on every fresh load. Defaults the table's sort to id descending instead. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -539,7 +539,7 @@
|
||||
</div>
|
||||
|
||||
<div class="gl-table-shell">
|
||||
<mat-table [dataSource]="dataSource" matSort class="gl-mat-table">
|
||||
<mat-table [dataSource]="dataSource" matSort matSortActive="id" matSortDirection="desc" class="gl-mat-table">
|
||||
<!-- #ID -->
|
||||
<ng-container matColumnDef="id">
|
||||
<mat-header-cell *matHeaderCellDef mat-sort-header class="gl-th">#</mat-header-cell>
|
||||
|
||||
Reference in New Issue
Block a user