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

25 lines
919 B
JavaScript
Raw Normal View History

2020-01-01 13:55:28 +05:30
import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable_filtered_search_token_keys';
2019-09-30 21:07:59 +05:30
import issuableInitBulkUpdateSidebar from '~/issuable_init_bulk_update_sidebar';
2021-03-11 19:13:27 +05:30
import initIssuablesList from '~/issues_list';
2019-09-30 21:07:59 +05:30
import initManualOrdering from '~/manual_ordering';
2021-03-11 19:13:27 +05:30
import { FILTERED_SEARCH } from '~/pages/constants';
import initFilteredSearch from '~/pages/search/init_filtered_search';
import projectSelect from '~/project_select';
2019-09-30 21:07:59 +05:30
const ISSUE_BULK_UPDATE_PREFIX = 'issue_';
2018-03-17 18:26:18 +05:30
2021-01-03 14:25:43 +05:30
IssuableFilteredSearchTokenKeys.addExtraTokensForIssues();
2021-03-08 18:12:59 +05:30
IssuableFilteredSearchTokenKeys.removeTokensForKeys('release');
2021-01-03 14:25:43 +05:30
issuableInitBulkUpdateSidebar.init(ISSUE_BULK_UPDATE_PREFIX);
2019-07-07 11:18:12 +05:30
2021-01-03 14:25:43 +05:30
initIssuablesList();
2019-12-26 22:10:19 +05:30
2021-01-03 14:25:43 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.ISSUES,
isGroupDecendent: true,
useDefaultState: true,
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
2018-03-27 19:54:05 +05:30
});
2021-01-03 14:25:43 +05:30
projectSelect();
initManualOrdering();