[MNT-25235] Add new search within folder filter

This commit is contained in:
MichalKinas
2026-09-09 13:14:51 +02:00
parent f2790dc768
commit 9529be49a3
2 changed files with 33 additions and 9 deletions
@@ -1864,9 +1864,24 @@
}
}
},
{
"id": "parentFolder",
"name": "SEARCH.CATEGORIES.PARENT_FOLDER",
"enabled": true,
"component": {
"selector": "autocomplete-chips",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"allowOnlyPredefinedValues": true,
"field": "ANCESTOR",
"label": "SEARCH.CATEGORIES.PARENT_FOLDER_LABEL"
}
}
},
{
"id": "location",
"name": "SEARCH.FACET_FIELDS.LOCATION",
"name": "SEARCH.CATEGORIES.LOCATION",
"enabled": true,
"component": {
"selector": "autocomplete-chips",
@@ -1875,13 +1890,14 @@
"hideDefaultAction": true,
"allowOnlyPredefinedValues": false,
"field": "SITE",
"label": "SEARCH.CATEGORIES.LOCATION_LABEL",
"autocompleteOptions": [ { "value": "_REPOSITORY_", "query": "PATH:'/app:company_home/\/*'" } ]
}
}
},
{
"id": "tag",
"name": "Tags",
"name": "SEARCH.CATEGORIES.TAGS",
"enabled": true,
"component": {
"selector": "autocomplete-chips",
@@ -1889,7 +1905,8 @@
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"allowOnlyPredefinedValues": true,
"field": "TAG"
"field": "TAG",
"label": "SEARCH.CATEGORIES.TAGS_LABEL"
}
},
"rules": {
@@ -1900,7 +1917,7 @@
},
{
"id": "categories",
"name": "SEARCH.FACET_FIELDS.CATEGORIES",
"name": "SEARCH.CATEGORIES.CATEGORIES",
"enabled": true,
"component": {
"selector": "autocomplete-chips",
@@ -1908,7 +1925,8 @@
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"allowOnlyPredefinedValues": true,
"field": "cm:categories"
"field": "cm:categories",
"label": "SEARCH.CATEGORIES.CATEGORIES_LABEL"
}
},
"rules": {
+10 -4
View File
@@ -658,11 +658,11 @@
},
"FACET_FIELDS": {
"CREATOR": "Creator",
"MODIFIER": "Modifier",
"LOCATION": "Location",
"CATEGORIES": "Categories"
"MODIFIER": "Modifier"
},
"CATEGORIES": {
"CATEGORIES": "Categories",
"CATEGORIES_LABEL": "Add Categories",
"DATE": "Date",
"DATE_TABS": {
"CREATED": "Created",
@@ -670,8 +670,14 @@
},
"EFFECTIVITY_FROM": "Effectivity from",
"EFFECTIVITY_TO": "Effectivity to",
"LOCATION": "Location",
"LOCATION_LABEL": "Add Sites",
"LOGIC": "Logic",
"PROPERTIES": "Properties"
"PARENT_FOLDER": "Parent folder",
"PARENT_FOLDER_LABEL": "Add Parent Folders",
"PROPERTIES": "Properties",
"TAGS": "Tags",
"TAGS_LABEL": "Add Tags"
},
"SEARCH_HEADER": {
"TITLE": "Filter",