mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2813] set default sorting (#3311)
This commit is contained in:
committed by
Eugenio Romano
parent
60644d9917
commit
fd12481843
@@ -136,7 +136,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
|||||||
* override the default sorting detected by the component based on columns.
|
* override the default sorting detected by the component based on columns.
|
||||||
*/
|
*/
|
||||||
@Input()
|
@Input()
|
||||||
sorting: string[];
|
sorting = ['name', 'asc'];
|
||||||
|
|
||||||
/** The inline style to apply to every row. See
|
/** The inline style to apply to every row. See
|
||||||
* the Angular NgStyle
|
* the Angular NgStyle
|
||||||
|
Reference in New Issue
Block a user