mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3672] - added server order for document -list (#5899)
* [ACA-3672] - added sorting server side for document-list * [ACA-3672] - added and fixed unit tests for backend order * [ACA-3672] - fixed failing test * [ACA-3672] - regenerated doc and renamed variable Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
This commit is contained in:
@@ -78,6 +78,10 @@ export class DataColumnComponent implements OnInit {
|
||||
@Input()
|
||||
focus: boolean = true;
|
||||
|
||||
/** When using server side sorting the column used by the api call where the sorting will be performed */
|
||||
@Input()
|
||||
sortingKey: string;
|
||||
|
||||
ngOnInit() {
|
||||
if (!this.srTitle && this.key === '$thumbnail') {
|
||||
this.srTitle = 'Thumbnail';
|
||||
|
Reference in New Issue
Block a user