mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5170] Change some facets to filters (#3256)
* [ACS-5170] Change some facets to filters * [ACS-5170] Remove unused translations * [ACS-5170] Exclude e2es that will be fixed along with advanced search changes
This commit is contained in:
@@ -1391,16 +1391,6 @@
|
||||
"facetFields": {
|
||||
"expanded": true,
|
||||
"fields": [
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "content.mimetype",
|
||||
"label": "SEARCH.FACET_FIELDS.FILE_TYPE",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"facetOrder": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "creator",
|
||||
@@ -1420,70 +1410,9 @@
|
||||
"hideDefaultAction": true,
|
||||
"facetOrder": 300
|
||||
}
|
||||
},
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "SITE",
|
||||
"label": "SEARCH.FACET_FIELDS.LOCATION",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"facetOrder": 400
|
||||
}
|
||||
},
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "TAG",
|
||||
"label": "Tags",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"facetOrder": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"mincount": 1,
|
||||
"field": "cm:categories",
|
||||
"label": "SEARCH.FACET_FIELDS.CATEGORIES",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"facetOrder": 700
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"facetQueries": {
|
||||
"label": "SEARCH.CATEGORIES.MODIFIED_DATE",
|
||||
"expanded": true,
|
||||
"queries": [
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.TODAY",
|
||||
"query": "cm:modified:[TODAY to TODAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.THIS_WEEK",
|
||||
"query": "cm:modified:[NOW/DAY-7DAYS TO NOW/DAY+1DAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.THIS_MONTH",
|
||||
"query": "cm:modified:[NOW/DAY-1MONTH TO NOW/DAY+1DAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.LAST_6_MONTHS",
|
||||
"query": "cm:modified:[NOW/DAY-6MONTHS TO NOW/DAY+1DAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.THIS_YEAR",
|
||||
"query": "cm:modified:[NOW/DAY-1YEAR TO NOW/DAY+1DAY]"
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"facetOrder": 500
|
||||
}
|
||||
},
|
||||
"categories": [
|
||||
{
|
||||
"id": "logic",
|
||||
@@ -1542,6 +1471,69 @@
|
||||
"maxDate": "today"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "modifiedDateRange",
|
||||
"name": "SEARCH.CATEGORIES.MODIFIED_DATE",
|
||||
"enabled": true,
|
||||
"component": {
|
||||
"selector": "date-range",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"field": "cm:modified",
|
||||
"dateFormat": "DD-MMM-YY",
|
||||
"maxDate": "today"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "fileType",
|
||||
"name": "SEARCH.FACET_FIELDS.FILE_TYPE",
|
||||
"component": {
|
||||
"selector": "",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"field": "content.mimetype"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "location",
|
||||
"name": "SEARCH.FACET_FIELDS.LOCATION",
|
||||
"component": {
|
||||
"selector": "",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"field": "SITE"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tag",
|
||||
"name": "Tags",
|
||||
"component": {
|
||||
"selector": "",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"field": "TAG"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "categories",
|
||||
"name": "SEARCH.FACET_FIELDS.CATEGORIES",
|
||||
"component": {
|
||||
"selector": "",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"field": "cm:categories"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1787,39 +1779,8 @@
|
||||
"hideDefaultAction": true
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
"facetQueries": {
|
||||
"label": "SEARCH.CATEGORIES.MODIFIED_DATE",
|
||||
"expanded": true,
|
||||
"queries": [
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.TODAY",
|
||||
"query": "cm:modified:[TODAY to TODAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.THIS_WEEK",
|
||||
"query": "cm:modified:[NOW/DAY-7DAYS TO NOW/DAY+1DAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.THIS_MONTH",
|
||||
"query": "cm:modified:[NOW/DAY-1MONTH TO NOW/DAY+1DAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.LAST_6_MONTHS",
|
||||
"query": "cm:modified:[NOW/DAY-6MONTHS TO NOW/DAY+1DAY]"
|
||||
},
|
||||
{
|
||||
"label": "SEARCH.FACET_QUERIES.THIS_YEAR",
|
||||
"query": "cm:modified:[NOW/DAY-1YEAR TO NOW/DAY+1DAY]"
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true
|
||||
}
|
||||
},
|
||||
"categories": [
|
||||
{
|
||||
"id": "logic",
|
||||
@@ -1849,6 +1810,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "modifiedDateRange",
|
||||
"name": "SEARCH.CATEGORIES.MODIFIED_DATE",
|
||||
"enabled": true,
|
||||
"component": {
|
||||
"selector": "date-range",
|
||||
"settings": {
|
||||
"allowUpdateOnChange": false,
|
||||
"hideDefaultAction": true,
|
||||
"field": "cm:modified",
|
||||
"dateFormat": "DD-MMM-YY",
|
||||
"maxDate": "today"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "effectivnessFrom",
|
||||
"name": "SEARCH.CATEGORIES.EFFECTIVITY_FROM",
|
||||
|
@@ -569,13 +569,6 @@
|
||||
"EFFECTIVITY_TO": "Effectivity to",
|
||||
"LOGIC": "Logic"
|
||||
},
|
||||
"FACET_QUERIES": {
|
||||
"TODAY": "Today",
|
||||
"THIS_WEEK": "This week",
|
||||
"THIS_MONTH": "This month",
|
||||
"LAST_6_MONTHS": "In the last 6 months",
|
||||
"THIS_YEAR": "This year"
|
||||
},
|
||||
"SEARCH_HEADER" : {
|
||||
"TITLE":"Filter",
|
||||
"TYPE": "Type",
|
||||
|
Reference in New Issue
Block a user