Commit 3fd60d60 authored by Bryce Johnson's avatar Bryce Johnson

Use unshift to ensure author token is always first.

parent bc7097af
......@@ -20,7 +20,8 @@ export default class FilteredSearchServiceDesk extends gl.FilteredSearchManager
return param.indexOf(authorParamKey) === -1;
});
onlyValidParams.push(supportBotParamPair);
// unshift ensures author param is always first token element
onlyValidParams.unshift(supportBotParamPair);
return onlyValidParams;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment