mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ACS-4125] Add support for the tags search facet (#8390)
* ACS-4125 Added changes needed to display facets for tags * ACS-4125 Removed logs * Add reordering of buckets and facets through configuration + unit tests --------- Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
This commit is contained in:
@@ -40,4 +40,22 @@ export interface FacetFieldSettings {
|
||||
allowUpdateOnChange?: boolean;
|
||||
/* allow the user show/hide default search actions */
|
||||
hideDefaultAction?: boolean;
|
||||
/* a number to compare to other facets to determine the order in which they will appear */
|
||||
facetOrder?: number;
|
||||
/* the field used to sort the buckets */
|
||||
bucketSortBy?: FacetBucketSortBy;
|
||||
/* the direction in which the buckets are ordered */
|
||||
bucketSortDirection?: FacetBucketSortDirection;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-shadow
|
||||
export enum FacetBucketSortBy {
|
||||
LABEL = 'LABEL',
|
||||
COUNT = 'COUNT'
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-shadow
|
||||
export enum FacetBucketSortDirection {
|
||||
ASCENDING = 'ASCENDING',
|
||||
DESCENDING = 'DESCENDING'
|
||||
}
|
||||
|
Reference in New Issue
Block a user