diff --git a/src/app.config.json b/src/app.config.json index 0fb20094c..476d72c49 100644 --- a/src/app.config.json +++ b/src/app.config.json @@ -162,33 +162,54 @@ "include": ["path", "allowableOperations"], "sorting": { "options": [ + { + "key": "score", + "label": "SEARCH.SORT.RELEVANCE", + "type": "FIELD", + "field": "score", + "ascending": true + }, { "key": "name", - "label": "Name", + "label": "SEARCH.SORT.FILENAME", "type": "FIELD", "field": "cm:name", "ascending": true }, + { + "key": "title", + "label": "SEARCH.SORT.TITLE", + "type": "FIELD", + "field": "cm:title", + "ascending": true + }, + { + "key": "modified", + "label": "SEARCH.SORT.MODIFIED_DATE", + "type": "FIELD", + "field": "cm:modified", + "ascending": true + }, { "key": "content.sizeInBytes", - "label": "Size", + "label": "SEARCH.SORT.SIZE", "type": "FIELD", "field": "content.size", "ascending": true }, { - "key": "description", - "label": "Description", + "key": "content.mimetype", + "label": "SEARCH.SORT.TYPE", "type": "FIELD", - "field": "cm:description", + "field": "content.mimetype", "ascending": true } ], "defaults": [ { - "key": "name", + "key": "score", "type": "FIELD", - "field": "cm:name", + "field": "score", "ascending": true } ] diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 869777686..988f46999 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -236,6 +236,14 @@ } }, "SEARCH": { + "SORT": { + "RELEVANCE": "Relevance", + "FILENAME": "Filename", + "TITLE": "Title", + "MODIFIED_DATE": "Modified Date", + "SIZE": "Size", + "TYPE": "Type" + }, "FACET_FIELDS": { "FILE_TYPE": "File Type", "CREATOR": "Creator",