Skip to content
Snippets Groups Projects
Commit 7d1af453 authored by Maël AUDEON's avatar Maël AUDEON
Browse files

[TECH] Improve code quality

parent 195ff79d
No related branches found
No related tags found
1 merge request!1Feature/design/1
......@@ -69,6 +69,6 @@ const GROUP_FILTER_CONVERTER: Readonly<{ [key: string]: (values: any[]) => Array
}
};
export function buildCriteriaFromGroupFilters(filterMap: { [key: string]: any[] }) {
export function buildCriteriaFromGroupFilters(filterMap: { [key: string]: any[] }): Array<Criterion | SearchQuery> {
return buildCriteriaFromFilters(filterMap, GROUP_FILTER_CONVERTER);
}
......@@ -81,6 +81,7 @@ export class GroupListComponent extends InfiniteScrollTable<Group> implements On
// tslint:disable-next-line:variable-name
private _search: string;
private readonly searchKeys = [
'identifier',
'name',
'level',
'description'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment