From 30c08f68f0f94cb149389ff458295092e6eaf6fa Mon Sep 17 00:00:00 2001 From: DominikIwanek Date: Thu, 7 Sep 2023 12:54:47 +0200 Subject: [PATCH] [ACA-4313] - Sort order doesn't work correctly --- .../src/lib/document-list/components/document-list.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/content-services/src/lib/document-list/components/document-list.component.ts b/lib/content-services/src/lib/document-list/components/document-list.component.ts index 641de672c0f..881265aeb5d 100644 --- a/lib/content-services/src/lib/document-list/components/document-list.component.ts +++ b/lib/content-services/src/lib/document-list/components/document-list.component.ts @@ -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') {