[ADF-2813] set default sorting (#3311)

This commit is contained in:
Georgiana Roman 2018-05-11 16:12:15 +03:00 committed by Eugenio Romano
parent 60644d9917
commit fd12481843

View File

@ -136,7 +136,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
* override the default sorting detected by the component based on columns.
*/
@Input()
sorting: string[];
sorting = ['name', 'asc'];
/** The inline style to apply to every row. See
* the Angular NgStyle