filter only on name in index management (#34372)
This commit is contained in:
parent
6703848f92
commit
112cbf88f7
|
@ -32,7 +32,7 @@ export const getIndexStatusByIndexName = (state, indexName) => {
|
|||
const { status } = indices[indexName] || {};
|
||||
return status;
|
||||
};
|
||||
const defaultFilterFields = ['name', 'uuid'];
|
||||
const defaultFilterFields = ['name'];
|
||||
|
||||
const filterByToggles = (indices, toggleNameToVisibleMap) => {
|
||||
const togglesByName = getToggleExtensions().reduce((byName, toggle) => ({
|
||||
|
@ -68,7 +68,8 @@ const getFilteredIndices = createSelector(
|
|||
? indexArray
|
||||
: indexArray.filter(index => !(index.name + '').startsWith('.'));
|
||||
const filter = tableState.filter || EuiSearchBar.Query.MATCH_ALL;
|
||||
return EuiSearchBar.Query.execute(filter, systemFilteredIndexes, defaultFilterFields);
|
||||
return EuiSearchBar.Query.execute(filter, systemFilteredIndexes,
|
||||
{ defaultFields: defaultFilterFields });
|
||||
}
|
||||
);
|
||||
export const getTotalItems = createSelector(
|
||||
|
|
Loading…
Reference in a new issue