[ACS-5181] Introduce logical search filter (#3245)

* [ACS-5181] Introduce logical search filter

* [ACS-5181] Correct filters order
This commit is contained in:
MichalKinas
2023-06-05 11:58:30 +02:00
committed by GitHub
parent f4600b588a
commit 919767ef8a
4 changed files with 67 additions and 1 deletions

View File

@@ -946,6 +946,19 @@
"TAG" "TAG"
], ],
"categories": [ "categories": [
{
"id": "logic",
"name": "SEARCH.CATEGORIES.LOGIC",
"enabled": true,
"component": {
"selector": "logical-filter",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"field": "cm:name,cm:title,cm:description,TEXT,TAG"
}
}
},
{ {
"id": "queryName", "id": "queryName",
"name": "SEARCH.SEARCH_HEADER.FILTERS.NAME.TITLE", "name": "SEARCH.SEARCH_HEADER.FILTERS.NAME.TITLE",

View File

@@ -135,6 +135,19 @@
} }
}, },
"categories": [ "categories": [
{
"id": "logic",
"name": "SEARCH.CATEGORIES.LOGIC",
"enabled": true,
"component": {
"selector": "logical-filter",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"field": "cm:name,cm:title,cm:description,TEXT,TAG"
}
}
},
{ {
"id": "createdDateRange", "id": "createdDateRange",
"name": "SEARCH.CATEGORIES.CREATED_DATE", "name": "SEARCH.CATEGORIES.CREATED_DATE",

View File

@@ -1485,6 +1485,19 @@
} }
}, },
"categories": [ "categories": [
{
"id": "logic",
"name": "SEARCH.CATEGORIES.LOGIC",
"enabled": true,
"component": {
"selector": "logical-filter",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"field": "cm:name,cm:title,cm:description,TEXT,TAG"
}
}
},
{ {
"id": "size", "id": "size",
"name": "SEARCH.CATEGORIES.SIZE", "name": "SEARCH.CATEGORIES.SIZE",
@@ -1641,6 +1654,19 @@
] ]
}, },
"categories": [ "categories": [
{
"id": "logic",
"name": "SEARCH.CATEGORIES.LOGIC",
"enabled": true,
"component": {
"selector": "logical-filter",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"field": "cm:name,cm:title,cm:description,TEXT,TAG"
}
}
},
{ {
"id": "createdDateRange", "id": "createdDateRange",
"name": "SEARCH.CATEGORIES.CREATED_DATE", "name": "SEARCH.CATEGORIES.CREATED_DATE",
@@ -1795,6 +1821,19 @@
} }
}, },
"categories": [ "categories": [
{
"id": "logic",
"name": "SEARCH.CATEGORIES.LOGIC",
"enabled": true,
"component": {
"selector": "logical-filter",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"field": "cm:name,cm:title,cm:description,TEXT,TAG"
}
}
},
{ {
"id": "createdDateRange", "id": "createdDateRange",
"name": "SEARCH.CATEGORIES.CREATED_DATE", "name": "SEARCH.CATEGORIES.CREATED_DATE",

View File

@@ -568,7 +568,8 @@
}, },
"CREATED_DATE": "Created date", "CREATED_DATE": "Created date",
"EFFECTIVITY_FROM": "Effectivity from", "EFFECTIVITY_FROM": "Effectivity from",
"EFFECTIVITY_TO": "Effectivity to" "EFFECTIVITY_TO": "Effectivity to",
"LOGIC": "Logic"
}, },
"FACET_QUERIES": { "FACET_QUERIES": {
"TODAY": "Today", "TODAY": "Today",