diff --git a/demo-shell/src/app.config.json b/demo-shell/src/app.config.json index 19e574b21b..a3b6292ed4 100644 --- a/demo-shell/src/app.config.json +++ b/demo-shell/src/app.config.json @@ -716,7 +716,8 @@ "type": "text", "title": "ADF-DOCUMENT-LIST.LAYOUT.NAME", "cssClass": "full-width ellipsis-cell", - "sortable": true + "sortable": true, + "sortingKey": "name" }, { "key": "visibility", diff --git a/demo-shell/src/app/components/files/files.component.html b/demo-shell/src/app/components/files/files.component.html index 3b8079742f..321740fb0d 100644 --- a/demo-shell/src/app/components/files/files.component.html +++ b/demo-shell/src/app/components/files/files.component.html @@ -229,7 +229,7 @@ [sortingMode]="sortingMode" [showHeader]="showHeader" [thumbnails]="thumbnails" - [stickyHeader]="stickyHeader" + [stickyHeader]="stickyHeader" (error)="onNavigationError($event)" (success)="resetError()" (ready)="emitReadyEvent($event)" @@ -269,6 +269,7 @@ @@ -279,6 +280,7 @@ @@ -296,6 +298,7 @@ key="content.sizeInBytes" title="{{'DOCUMENT_LIST.COLUMNS.SIZE' | translate}}" type="fileSize" + sortingKey="sizeInBytes" class="app-desktop-only adf-ellipsis-cell">