[ACA-4313] - Sort order doesn't work correctly (#8892)

[ACA-4313] - Sort order doesn't work correctly
This commit is contained in:
DominikIwanek
2023-09-12 16:07:16 +02:00
committed by GitHub
parent 13b6bf37ff
commit e14e489d2d
2 changed files with 8 additions and 1 deletions

View File

@@ -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') {