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';
|
2022-01-26 12:08:38 +05:30
|
|
|
import { FILTERED_SEARCH } from '~/filtered_search/constants';
|
2023-03-04 22:38:38 +05:30
|
|
|
import { initBulkUpdateSidebar } from '~/issuable';
|
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);
|
2022-03-02 08:16:31 +05:30
|
|
|
initBulkUpdateSidebar(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();
|