[ACA-4013] - fixed sorting for document list - size (#6240)

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
This commit is contained in:
Vito
2020-10-13 09:56:42 +01:00
committed by GitHub
parent bc71f58c2c
commit 3aab5f7d2c

View File

@@ -706,7 +706,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
}
onSortingChanged(event: CustomEvent) {
this.orderBy = this.buildOrderByArray(event.detail.key, event.detail.direction);
this.orderBy = this.buildOrderByArray(event.detail.sortingKey, event.detail.direction);
this.reload();
this.sortingSubject.next([this.additionalSorting, event.detail]);
}