Commit 7738b819 authored by Bryce Johnson's avatar Bryce Johnson

Fix modifyUrlParams modifying opposite targets.

parent 2558fc7b
......@@ -17,7 +17,7 @@ export default class FilteredSearchServiceDesk extends gl.FilteredSearchManager
const supportBotParamPair = `${paramKey}=support-bot`;
return paramsArray.map((param) => {
return param.indexOf(paramKey) !== -1 ? param : supportBotParamPair;
return param.indexOf(paramKey) === -1 ? param : supportBotParamPair;
});
}
}
......
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