mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Jobs page
Filter schedules by job type. https://trello.com/c/cw57g3Vw/45-jobs-tab-scheduled-jobs-do-not-allow-filtering-by-type
This commit is contained in:
parent
a6252e4ed2
commit
973695e6d8
@ -374,7 +374,6 @@ angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper'])
|
||||
} else {
|
||||
scope[iterator + 'ShowStartBtn' + modifier] = true;
|
||||
}
|
||||
|
||||
if ((!scope[iterator + 'SelectShow' + modifier] && !Empty(scope[iterator + 'SearchValue' + modifier])) ||
|
||||
(scope[iterator + 'SelectShow' + modifier] && scope[iterator + 'SearchSelectValue' + modifier]) ||
|
||||
(list.fields[scope[iterator + 'SearchField' + modifier]] &&
|
||||
|
@ -45,8 +45,15 @@ angular.module('ScheduledJobsDefinition', [])
|
||||
sourceModel: 'unified_job_template',
|
||||
sourceField: 'unified_job_type',
|
||||
ngBind: 'schedule.type_label',
|
||||
searchable: false,
|
||||
nosort: true
|
||||
searchField: 'unified_job_template__polymorphic_ctype__name',
|
||||
searchLable: 'Type',
|
||||
searchable: true,
|
||||
searchType: 'select',
|
||||
searchOptions: [
|
||||
{ value: 'inventory source', name: 'Inventory Sync' },
|
||||
{ value: 'job template', name: 'Playbook Run' },
|
||||
{ value: 'project', name: 'SCM Update' }
|
||||
]
|
||||
},
|
||||
name: {
|
||||
label: 'Name',
|
||||
|
Loading…
Reference in New Issue
Block a user