[ACA-3796] - fixed error on sorting (#1575)

* [ACA-3796] - fixed error on sorting

* [ACA-3796] - fixed unit test

* [ACA-3796] - start fixing e2e plus fixed filter parent node

* Rebased and upgraded to the latest ADF

* [ACA-3796] - fixed pr comments

* last adf update

* remove unused loading

* clean unit test

* [ACA-3796] - reverted fix for filters parent

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
Vito
2020-08-10 21:13:28 +01:00
committed by GitHub
parent 382be8dae8
commit 053d2de069
8 changed files with 61 additions and 22 deletions

View File

@@ -979,6 +979,7 @@
{
"id": "app.files.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -996,6 +997,7 @@
{
"id": "app.files.modifiedBy",
"key": "modifiedByUser.displayName",
"sortingKey": "modifiedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.MODIFIED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1014,6 +1016,7 @@
{
"id": "app.libraries.name",
"key": "title",
"sortingKey": "name",
"title": "APP.DOCUMENT_LIST.COLUMNS.TITLE",
"type": "text",
"class": "adf-ellipsis-cell adf-expand-cell-5",
@@ -1061,6 +1064,7 @@
{
"id": "app.shared.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -1078,6 +1082,7 @@
{
"id": "app.shared.modifiedBy",
"key": "modifiedByUser.displayName",
"sortingKey": "modifiedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.MODIFIED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1087,6 +1092,7 @@
{
"id": "app.shared.sharedBy",
"key": "sharedByUser.displayName",
"sortingKey": "sharedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.SHARED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1124,6 +1130,7 @@
{
"id": "app.recent.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -1186,6 +1193,7 @@
{
"id": "app.favorites.modifiedBy",
"key": "modifiedByUser.displayName",
"sortingKey": "modifiedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.MODIFIED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1223,6 +1231,7 @@
{
"id": "app.trashcan.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -1231,6 +1240,7 @@
{
"id": "app.trashcan.deletedOn",
"key": "archivedAt",
"sortingKey": "archivedAt",
"title": "APP.DOCUMENT_LIST.COLUMNS.DELETED_ON",
"type": "date",
"format": "timeAgo",

View File

@@ -898,6 +898,7 @@
{
"id": "app.files.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -907,6 +908,7 @@
{
"id": "app.files.modifiedBy",
"key": "modifiedByUser.displayName",
"sortingKey": "modifiedByUser",
"title": "Test header",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -916,6 +918,7 @@
{
"id": "some.id.createdBy",
"key": "createdByUser.displayName",
"sortingKey": "createdByUser",
"title": "New column",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -934,6 +937,7 @@
{
"id": "app.libraries.name",
"key": "title",
"sortingKey": "name",
"title": "APP.DOCUMENT_LIST.COLUMNS.TITLE",
"type": "text",
"class": "adf-ellipsis-cell adf-expand-cell-5",
@@ -981,6 +985,7 @@
{
"id": "app.shared.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -998,6 +1003,7 @@
{
"id": "app.shared.modifiedBy",
"key": "modifiedByUser.displayName",
"sortingKey": "modifiedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.MODIFIED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1007,6 +1013,7 @@
{
"id": "app.shared.sharedBy",
"key": "sharedByUser.displayName",
"sortingKey": "sharedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.SHARED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1044,6 +1051,7 @@
{
"id": "app.recent.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -1106,6 +1114,7 @@
{
"id": "app.favorites.modifiedBy",
"key": "modifiedByUser.displayName",
"sortingKey": "modifiedByUser",
"title": "APP.DOCUMENT_LIST.COLUMNS.MODIFIED_BY",
"type": "text",
"class": "adf-ellipsis-cell",
@@ -1143,6 +1152,7 @@
{
"id": "app.trashcan.size",
"key": "content.sizeInBytes",
"sortingKey": "sizeInBytes",
"title": "APP.DOCUMENT_LIST.COLUMNS.SIZE",
"type": "fileSize",
"sortable": true,
@@ -1151,6 +1161,7 @@
{
"id": "app.trashcan.deletedOn",
"key": "archivedAt",
"sortingKey": "archivedAt",
"title": "APP.DOCUMENT_LIST.COLUMNS.DELETED_ON",
"type": "date",
"format": "timeAgo",