1
0
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:
Chris Houseknecht 2014-08-26 12:14:40 -04:00
parent a6252e4ed2
commit 973695e6d8
2 changed files with 9 additions and 3 deletions

View File

@ -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]] &&

View File

@ -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',