Commit 8b8f7944 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'winh-filtered_search_boards' into 'master'

Remove EE-specific changes from FilteredSearchBoards (CE-backport)

See merge request gitlab-org/gitlab-ce!27122
parents 5cc1d2f1 e62f9d9b
import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable_filtered_search_token_keys';
import FilteredSearchContainer from '../filtered_search/container'; import FilteredSearchContainer from '../filtered_search/container';
import FilteredSearchManager from '../filtered_search/filtered_search_manager'; import FilteredSearchManager from '../filtered_search/filtered_search_manager';
import boardsStore from './stores/boards_store'; import boardsStore from './stores/boards_store';
import { isEE } from '~/lib/utils/common_utils';
export default class FilteredSearchBoards extends FilteredSearchManager { export default class FilteredSearchBoards extends FilteredSearchManager {
constructor(store, updateUrl = false, cantEdit = []) { constructor(store, updateUrl = false, cantEdit = []) {
...@@ -8,6 +10,8 @@ export default class FilteredSearchBoards extends FilteredSearchManager { ...@@ -8,6 +10,8 @@ export default class FilteredSearchBoards extends FilteredSearchManager {
page: 'boards', page: 'boards',
isGroupDecendent: true, isGroupDecendent: true,
stateFiltersSelector: '.issues-state-filters', stateFiltersSelector: '.issues-state-filters',
isGroup: isEE(),
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
}); });
this.store = store; this.store = store;
......
Markdown is supported
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