Skip to content

Commit

Permalink
feat: change default sort order for moderators
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Mar 8, 2024
1 parent 1afe32d commit 89d6198
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export class ModeratorEventsComponent implements OnInit {
}

ngOnInit(): void {
this.filter.sortBy = 'MODIFIED_DATE';
this.filter.sortOrder = 'DESC';

this.search();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export class ModeratorNoticesComponent {
}

ngOnInit(): void {
this.filter.sortBy = 'MODIFIED_DATE';
this.filter.sortOrder = 'DESC';

this.search();
}

Expand Down

0 comments on commit 89d6198

Please sign in to comment.