Skip to content

Commit

Permalink
[ACA-4313] - Sort order doesn't work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland committed Sep 7, 2023
1 parent 876ca7a commit 30c08f6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte

onSortingChanged(event: CustomEvent) {
this.orderBy = this.buildOrderByArray(event.detail.sortingKey, event.detail.direction);
this.sorting = [event.detail.sortingKey, event.detail.direction];
this.sortingSubject.next([this.additionalSorting, event.detail]);

if (this.sortingMode === 'server') {
Expand Down

0 comments on commit 30c08f6

Please sign in to comment.