debian-mirror-gitlab/app/assets/javascripts/pages/groups/merge_requests/index.js

17 lines
686 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import projectSelect from '~/project_select';
import initFilteredSearch from '~/pages/search/init_filtered_search';
2018-12-05 23:21:45 +05:30
import IssuableFilteredSearchTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys';
2019-07-07 11:18:12 +05:30
import addExtraTokensForMergeRequests from 'ee_else_ce/filtered_search/add_extra_tokens_for_merge_requests';
2018-03-17 18:26:18 +05:30
import { FILTERED_SEARCH } from '~/pages/constants';
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2019-07-07 11:18:12 +05:30
addExtraTokensForMergeRequests(IssuableFilteredSearchTokenKeys);
2018-12-05 23:21:45 +05:30
2018-03-17 18:26:18 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.MERGE_REQUESTS,
2018-05-09 12:01:36 +05:30
isGroupDecendent: true,
2018-12-05 23:21:45 +05:30
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
2018-03-17 18:26:18 +05:30
});
projectSelect();
2018-03-27 19:54:05 +05:30
});