Add job status back into filter options for completed jobs. Added to jobs tab, dashboard and job template page.
https://trello.com/c/dOqMitNv/38-jobs-tab-can-t-view-only-successful-jobs
This commit is contained in:
Chris Houseknecht 2014-08-26 10:57:49 -04:00
parent fa9c6b0171
commit a6252e4ed2
2 changed files with 11 additions and 3 deletions

View File

@ -36,7 +36,8 @@ angular.module('CompletedJobsDefinition', [])
icon: 'icon-job-{{ completed_job.status }}',
iconOnly: true,
ngClick:"viewJobLog(completed_job.id)",
searchable: false,
searchable: true,
searchType: 'select',
nosort: true,
searchOptions: [
{ name: "Success", value: "successful" },

View File

@ -42,8 +42,15 @@ angular.module('JobsListDefinition', [])
icon: 'icon-job-{{ job.status }}',
iconOnly: true,
ngClick:"viewJobLog(job.id)",
searchable: false,
nosort: true
searchable: true,
nosort: true,
searchType: 'select',
searchOptions: [
{ name: "Success", value: "successful" },
{ name: "Error", value: "error" },
{ name: "Failed", value: "failed" },
{ name: "Canceled", value: "canceled" }
]
},
started: {
label: 'Started',