mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
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:
@@ -374,7 +374,6 @@ angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper'])
|
|||||||
} else {
|
} else {
|
||||||
scope[iterator + 'ShowStartBtn' + modifier] = true;
|
scope[iterator + 'ShowStartBtn' + modifier] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!scope[iterator + 'SelectShow' + modifier] && !Empty(scope[iterator + 'SearchValue' + modifier])) ||
|
if ((!scope[iterator + 'SelectShow' + modifier] && !Empty(scope[iterator + 'SearchValue' + modifier])) ||
|
||||||
(scope[iterator + 'SelectShow' + modifier] && scope[iterator + 'SearchSelectValue' + modifier]) ||
|
(scope[iterator + 'SelectShow' + modifier] && scope[iterator + 'SearchSelectValue' + modifier]) ||
|
||||||
(list.fields[scope[iterator + 'SearchField' + modifier]] &&
|
(list.fields[scope[iterator + 'SearchField' + modifier]] &&
|
||||||
|
|||||||
@@ -45,8 +45,15 @@ angular.module('ScheduledJobsDefinition', [])
|
|||||||
sourceModel: 'unified_job_template',
|
sourceModel: 'unified_job_template',
|
||||||
sourceField: 'unified_job_type',
|
sourceField: 'unified_job_type',
|
||||||
ngBind: 'schedule.type_label',
|
ngBind: 'schedule.type_label',
|
||||||
searchable: false,
|
searchField: 'unified_job_template__polymorphic_ctype__name',
|
||||||
nosort: true
|
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: {
|
name: {
|
||||||
label: 'Name',
|
label: 'Name',
|
||||||
|
|||||||
Reference in New Issue
Block a user