From 27ba99d11ed1b387a7d339437e7a59dfdc8d3995 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 12 May 2017 12:44:59 +0100 Subject: [PATCH] disable ADF-551 due to conflicts with Permissions feature --- .../src/components/document-list.component.ts | 3 +++ 1 file changed, 3 insertions(+) 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) {