[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", "id": "location",
"name": "SEARCH.FACET_FIELDS.LOCATION", "name": "SEARCH.CATEGORIES.LOCATION",
"enabled": true, "enabled": true,
"component": { "component": {
"selector": "autocomplete-chips", "selector": "autocomplete-chips",
@@ -1875,13 +1890,14 @@
"hideDefaultAction": true, "hideDefaultAction": true,
"allowOnlyPredefinedValues": false, "allowOnlyPredefinedValues": false,
"field": "SITE", "field": "SITE",
"label": "SEARCH.CATEGORIES.LOCATION_LABEL",
"autocompleteOptions": [ { "value": "_REPOSITORY_", "query": "PATH:'/app:company_home/\/*'" } ] "autocompleteOptions": [ { "value": "_REPOSITORY_", "query": "PATH:'/app:company_home/\/*'" } ]
} }
} }
}, },
{ {
"id": "tag", "id": "tag",
"name": "Tags", "name": "SEARCH.CATEGORIES.TAGS",
"enabled": true, "enabled": true,
"component": { "component": {
"selector": "autocomplete-chips", "selector": "autocomplete-chips",
@@ -1889,7 +1905,8 @@
"allowUpdateOnChange": false, "allowUpdateOnChange": false,
"hideDefaultAction": true, "hideDefaultAction": true,
"allowOnlyPredefinedValues": true, "allowOnlyPredefinedValues": true,
"field": "TAG" "field": "TAG",
"label": "SEARCH.CATEGORIES.TAGS_LABEL"
} }
}, },
"rules": { "rules": {
@@ -1900,7 +1917,7 @@
}, },
{ {
"id": "categories", "id": "categories",
"name": "SEARCH.FACET_FIELDS.CATEGORIES", "name": "SEARCH.CATEGORIES.CATEGORIES",
"enabled": true, "enabled": true,
"component": { "component": {
"selector": "autocomplete-chips", "selector": "autocomplete-chips",
@@ -1908,7 +1925,8 @@
"allowUpdateOnChange": false, "allowUpdateOnChange": false,
"hideDefaultAction": true, "hideDefaultAction": true,
"allowOnlyPredefinedValues": true, "allowOnlyPredefinedValues": true,
"field": "cm:categories" "field": "cm:categories",
"label": "SEARCH.CATEGORIES.CATEGORIES_LABEL"
} }
}, },
"rules": { "rules": {
+10 -4
View File
@@ -658,11 +658,11 @@
}, },
"FACET_FIELDS": { "FACET_FIELDS": {
"CREATOR": "Creator", "CREATOR": "Creator",
"MODIFIER": "Modifier", "MODIFIER": "Modifier"
"LOCATION": "Location",
"CATEGORIES": "Categories"
}, },
"CATEGORIES": { "CATEGORIES": {
"CATEGORIES": "Categories",
"CATEGORIES_LABEL": "Add Categories",
"DATE": "Date", "DATE": "Date",
"DATE_TABS": { "DATE_TABS": {
"CREATED": "Created", "CREATED": "Created",
@@ -670,8 +670,14 @@
}, },
"EFFECTIVITY_FROM": "Effectivity from", "EFFECTIVITY_FROM": "Effectivity from",
"EFFECTIVITY_TO": "Effectivity to", "EFFECTIVITY_TO": "Effectivity to",
"LOCATION": "Location",
"LOCATION_LABEL": "Add Sites",
"LOGIC": "Logic", "LOGIC": "Logic",
"PROPERTIES": "Properties" "PARENT_FOLDER": "Parent folder",
"PARENT_FOLDER_LABEL": "Add Parent Folders",
"PROPERTIES": "Properties",
"TAGS": "Tags",
"TAGS_LABEL": "Add Tags"
}, },
"SEARCH_HEADER": { "SEARCH_HEADER": {
"TITLE": "Filter", "TITLE": "Filter",