зеркало из https://github.com/mozilla/treeherder.git
Bug 1573462 - Job and group name keeps capitalizations
This commit is contained in:
Родитель
1dd9d7edfd
Коммит
6899768b35
|
@ -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',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче