mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3497] Facet intervals on search filter (#4255)
* [ADF-3497] allow facetIntervals on search * [ADF-3497] update schema json * [ADF-3497] update json * [ADF-3497] documentation update * [ADF-3497] specify that sets are not supported * [ADF-3497] no spaces on labels - mention * [ADF-3497] documentation update * [ADF-3497] update examples & document label key * [ADF-3497] tests added * [ADF-3497] testRail id * [ADF-3497] allow config of custom pageSize values * [ADF-3497] support mincount filtering also for intervals * [ADF-3497] support expanded property also for facetIntervals * remove no longer needed info - bcs. of PR #4322 fix
This commit is contained in:
committed by
Eugenio Romano
parent
f20a71438c
commit
e34f80aff7
@@ -980,6 +980,81 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"facetIntervals": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"intervals"
|
||||
],
|
||||
"properties": {
|
||||
"intervals": {
|
||||
"description": "List of facet intervals",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"label",
|
||||
"field",
|
||||
"sets"
|
||||
],
|
||||
"properties": {
|
||||
"label": {
|
||||
"description": "This specifies the label to use to identify the field facet.",
|
||||
"type": "string"
|
||||
},
|
||||
"field": {
|
||||
"description": "This specifies the field to facet on.",
|
||||
"type": "string"
|
||||
},
|
||||
"sets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"label",
|
||||
"start",
|
||||
"end"
|
||||
],
|
||||
"properties": {
|
||||
"label": {
|
||||
"description": "This specifies the label to use to identify the set.",
|
||||
"type": "string"
|
||||
},
|
||||
"start": {
|
||||
"description": "This specifies the start of the range.",
|
||||
"type": "string"
|
||||
},
|
||||
"end": {
|
||||
"description": "This specifies the end of the range.",
|
||||
"type": "string"
|
||||
},
|
||||
"startInclusive": {
|
||||
"description": "When true, the set will include values greater or equal to 'start'. The default value is true.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"endInclusive": {
|
||||
"description": "When true, the set will include values less than or equal to 'end'. The default value is true.",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "number",
|
||||
"description": "Display page size"
|
||||
},
|
||||
"mincount": {
|
||||
"type": "number",
|
||||
"description": "This specifies the minimum count required for a facet interval to be displayed. The default value is 1."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"expanded": {
|
||||
"description": "Toggles expanded state of the facet intervals",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"facetQueries": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -1017,6 +1092,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"description": "Unique identifier for the query",
|
||||
"type": "string"
|
||||
},
|
||||
"group": {
|
||||
|
Reference in New Issue
Block a user