2020-01-01 13:55:28 +05:30
|
|
|
import addExtraTokensForMergeRequests from 'ee_else_ce/filtered_search/add_extra_tokens_for_merge_requests';
|
2018-12-05 23:21:45 +05:30
|
|
|
import IssuableFilteredSearchTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys';
|
2021-03-11 19:13:27 +05:30
|
|
|
import issuableInitBulkUpdateSidebar from '~/issuable_init_bulk_update_sidebar';
|
2018-03-17 18:26:18 +05:30
|
|
|
import { FILTERED_SEARCH } from '~/pages/constants';
|
2021-03-11 19:13:27 +05:30
|
|
|
import initFilteredSearch from '~/pages/search/init_filtered_search';
|
|
|
|
import projectSelect from '~/project_select';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
const ISSUABLE_BULK_UPDATE_PREFIX = 'merge_request_';
|
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
addExtraTokensForMergeRequests(IssuableFilteredSearchTokenKeys);
|
|
|
|
issuableInitBulkUpdateSidebar.init(ISSUABLE_BULK_UPDATE_PREFIX);
|
2018-12-05 23:21:45 +05:30
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
initFilteredSearch({
|
|
|
|
page: FILTERED_SEARCH.MERGE_REQUESTS,
|
|
|
|
isGroupDecendent: true,
|
|
|
|
useDefaultState: true,
|
|
|
|
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
|
2018-03-27 19:54:05 +05:30
|
|
|
});
|
2021-01-29 00:20:46 +05:30
|
|
|
projectSelect();
|