mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-4313] - Sort order doesn't work correctly (#8892)
[ACA-4313] - Sort order doesn't work correctly
This commit is contained in:
@@ -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') {
|
||||
|
Reference in New Issue
Block a user