[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 <Aleksander.Sklorz@hyland.com>
This commit is contained in:
Thomas Hunter
2023-03-24 11:14:01 +00:00
committed by GitHub
parent 73a4c95e42
commit 2067ad814c

View File

@@ -1329,7 +1329,8 @@
"label": "SEARCH.FACET_FIELDS.FILE_TYPE", "label": "SEARCH.FACET_FIELDS.FILE_TYPE",
"settings": { "settings": {
"allowUpdateOnChange": false, "allowUpdateOnChange": false,
"hideDefaultAction": true "hideDefaultAction": true,
"facetOrder": 100
} }
}, },
{ {
@@ -1338,7 +1339,8 @@
"label": "SEARCH.FACET_FIELDS.CREATOR", "label": "SEARCH.FACET_FIELDS.CREATOR",
"settings": { "settings": {
"allowUpdateOnChange": false, "allowUpdateOnChange": false,
"hideDefaultAction": true "hideDefaultAction": true,
"facetOrder": 200
} }
}, },
{ {
@@ -1347,7 +1349,8 @@
"label": "SEARCH.FACET_FIELDS.MODIFIER", "label": "SEARCH.FACET_FIELDS.MODIFIER",
"settings": { "settings": {
"allowUpdateOnChange": false, "allowUpdateOnChange": false,
"hideDefaultAction": true "hideDefaultAction": true,
"facetOrder": 300
} }
}, },
{ {
@@ -1356,7 +1359,20 @@
"label": "SEARCH.FACET_FIELDS.LOCATION", "label": "SEARCH.FACET_FIELDS.LOCATION",
"settings": { "settings": {
"allowUpdateOnChange": false, "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": { "settings": {
"allowUpdateOnChange": false, "allowUpdateOnChange": false,
"hideDefaultAction": true "hideDefaultAction": true,
"facetOrder": 500
} }
}, },
"categories": [ "categories": [