diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.component.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.component.ts index 1ed104f162..0917888c41 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.component.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.component.ts @@ -210,6 +210,8 @@ export class DocumentListComponent implements OnInit, OnChanges, AfterContentIni this.setupDefaultColumns(); } + // TODO: commented out as Permissions feature (Context Menus and Row Actions) breaks all component functionality + /* if (this.sorting) { const [ key, direction ] = this.sorting; @@ -218,6 +220,7 @@ export class DocumentListComponent implements OnInit, OnChanges, AfterContentIni direction: direction || 'asc' }); } + */ } ngOnChanges(changes: SimpleChanges) {