mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Order by folder (#5945)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user