Backport EE changes to `app/assets/javascripts/filtered_search/issuable_filtered_search_token_keys.js`

This commit is contained in:
Lukas Eipert 2018-09-17 12:37:02 +00:00
parent 99c3d45e6f
commit 276c4ae66f
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import FilteredSearchTokenKeys from './filtered_search_token_keys';
const tokenKeys = [{
export const tokenKeys = [{
key: 'author',
type: 'string',
param: 'username',
@ -42,14 +42,14 @@ if (gon.current_user_id) {
});
}
const alternativeTokenKeys = [{
export const alternativeTokenKeys = [{
key: 'label',
type: 'string',
param: 'name',
symbol: '~',
}];
const conditions = [{
export const conditions = [{
url: 'assignee_id=0',
tokenKey: 'assignee',
value: 'none',