Order by folder (#5945)

This commit is contained in:
Eugenio Romano
2020-08-03 14:09:42 +01:00
committed by GitHub
parent f740364e3a
commit c66ad49f03
2 changed files with 5 additions and 5 deletions

View File

@@ -190,7 +190,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
* rule to be added to the sorting apart from the one driven by the header.
*/
@Input()
additionalSorting = ['nodeType DESC'];
additionalSorting = ['isFolder DESC'];
/** Defines sorting mode. Can be either `client` (items in the list
* are sorted client-side) or `server` (the ordering supplied by the