mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2131] Search sorting (#3334)
* sorting configuration * detect primary sorting and use with document list * search results sorting * docs update * unit tests and code updates * update code * update code * generic sorting picker, test updates * ability to switch off client side sorting * update docs for document list
This commit is contained in:
committed by
Eugenio Romano
parent
73bc62ae8f
commit
07440731fa
@@ -19,6 +19,7 @@ import { FilterQuery } from './filter-query.interface';
|
||||
import { FacetQuery } from './facet-query.interface';
|
||||
import { FacetField } from './facet-field.interface';
|
||||
import { SearchCategory } from './search-category.interface';
|
||||
import { SearchSortingDefinition } from './search-sorting-definition.interface';
|
||||
|
||||
export interface SearchConfiguration {
|
||||
include?: Array<string>;
|
||||
@@ -32,4 +33,8 @@ export interface SearchConfiguration {
|
||||
queries: Array<FacetQuery>;
|
||||
};
|
||||
facetFields?: Array<FacetField>;
|
||||
sorting?: {
|
||||
options: Array<SearchSortingDefinition>;
|
||||
defaults: Array<SearchSortingDefinition>;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user