Skip to content

Commit

Permalink
fix: months are sorted descending (#1836)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal authored Apr 25, 2023
1 parent ec7fc1a commit 966d968
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export class EntitySubrecordComponent<T extends Entity> implements OnChanges {
let sortDirection: SortDirection = "asc";
if (
sortByColumn?.view === "DisplayDate" ||
sortByColumn?.edit === "EditDate"
sortByColumn?.view === "DisplayMonth"
) {
// flip default sort order for dates (latest first)
sortDirection = "desc";
Expand Down

0 comments on commit 966d968

Please sign in to comment.