From 2067ad814cf2538f0c9624c2e0a703168f28f8bb Mon Sep 17 00:00:00 2001 From: Thomas Hunter Date: Fri, 24 Mar 2023 11:14:01 +0000 Subject: [PATCH] [ACS-4125] Add support for the tags search facet (#3070) * ACS-4125 Display tags facets in search * Added new config options --------- Co-authored-by: Aleksander Sklorz --- .../aca-content/assets/app.extensions.json | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/projects/aca-content/assets/app.extensions.json b/projects/aca-content/assets/app.extensions.json index 0dbb7ab99..8da0cd8c8 100644 --- a/projects/aca-content/assets/app.extensions.json +++ b/projects/aca-content/assets/app.extensions.json @@ -1329,7 +1329,8 @@ "label": "SEARCH.FACET_FIELDS.FILE_TYPE", "settings": { "allowUpdateOnChange": false, - "hideDefaultAction": true + "hideDefaultAction": true, + "facetOrder": 100 } }, { @@ -1338,7 +1339,8 @@ "label": "SEARCH.FACET_FIELDS.CREATOR", "settings": { "allowUpdateOnChange": false, - "hideDefaultAction": true + "hideDefaultAction": true, + "facetOrder": 200 } }, { @@ -1347,7 +1349,8 @@ "label": "SEARCH.FACET_FIELDS.MODIFIER", "settings": { "allowUpdateOnChange": false, - "hideDefaultAction": true + "hideDefaultAction": true, + "facetOrder": 300 } }, { @@ -1356,7 +1359,20 @@ "label": "SEARCH.FACET_FIELDS.LOCATION", "settings": { "allowUpdateOnChange": false, - "hideDefaultAction": true + "hideDefaultAction": true, + "facetOrder": 400 + } + }, + { + "mincount": 1, + "field": "TAG", + "label": "Tags", + "settings": { + "allowUpdateOnChange": false, + "hideDefaultAction": true, + "facetOrder": 600, + "bucketSortBy": "LABEL", + "bucketSortDirection": "ASCENDING" } } ] @@ -1388,7 +1404,8 @@ ], "settings": { "allowUpdateOnChange": false, - "hideDefaultAction": true + "hideDefaultAction": true, + "facetOrder": 500 } }, "categories": [