diff --git a/tests/ui/job-view/Filtering_test.jsx b/tests/ui/job-view/Filtering_test.jsx index 88a2fa228..bbe95b8e7 100644 --- a/tests/ui/job-view/Filtering_test.jsx +++ b/tests/ui/job-view/Filtering_test.jsx @@ -224,7 +224,7 @@ describe('Filtering', () => { getByTitle('Filter jobs containing these keywords'), ); expect(keywordLink.getAttribute('href')).toBe( - '/#/jobs?repo=autoland&selectedJob=259537372&searchStr=gecko%2Cdecision%2Ctask%2Copt%2Cgecko%2Cdecision%2Ctask%2C%28d%29', + '/#/jobs?repo=autoland&selectedJob=259537372&searchStr=Gecko%2CDecision%2CTask%2Copt%2CGecko%2CDecision%2CTask%2C%28D%29', ); }); }); diff --git a/ui/helpers/job.js b/ui/helpers/job.js index 178c7cc7c..228f19005 100644 --- a/ui/helpers/job.js +++ b/ui/helpers/job.js @@ -196,8 +196,7 @@ export const addAggregateFields = function addAggregateFields(job) { `${symbolInfo}(${job_type_symbol})`, ] .filter(item => typeof item !== 'undefined') - .join(' ') - .toLowerCase(); + .join(' '); job.searchStr = `${job.title} ${signature}`; if (!duration) {