From 99c0b089ea10ad7e2e83731fe86d2b73d3d96b71 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Mon, 30 Jun 2014 10:21:39 -0400 Subject: [PATCH] Job detail page refactor / dashboard Removed sort on status field. --- awx/ui/static/js/lists/CompletedJobs.js | 3 ++- awx/ui/static/js/lists/Jobs.js | 3 ++- awx/ui/static/js/lists/QueuedJobs.js | 3 ++- awx/ui/static/js/lists/RunningJobs.js | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/awx/ui/static/js/lists/CompletedJobs.js b/awx/ui/static/js/lists/CompletedJobs.js index 343ca88657..9160e9a3f8 100644 --- a/awx/ui/static/js/lists/CompletedJobs.js +++ b/awx/ui/static/js/lists/CompletedJobs.js @@ -37,7 +37,8 @@ angular.module('CompletedJobsDefinition', []) icon: 'icon-job-{{ completed_job.status }}', iconOnly: true, ngClick:"viewJobLog(completed_job.id)", - searchType: 'select', + searchable: false, + nosort: true, searchOptions: [ { name: "Success", value: "successful" }, { name: "Error", value: "error" }, diff --git a/awx/ui/static/js/lists/Jobs.js b/awx/ui/static/js/lists/Jobs.js index 56c20fdaea..208046714a 100644 --- a/awx/ui/static/js/lists/Jobs.js +++ b/awx/ui/static/js/lists/Jobs.js @@ -42,7 +42,8 @@ angular.module('JobsListDefinition', []) icon: 'icon-job-{{ job.status }}', iconOnly: true, ngClick:"viewJobLog(job.id)", - searchable: false + searchable: false, + nosort: true }, started: { label: 'Started On', diff --git a/awx/ui/static/js/lists/QueuedJobs.js b/awx/ui/static/js/lists/QueuedJobs.js index df735ffea9..4c4fe97063 100644 --- a/awx/ui/static/js/lists/QueuedJobs.js +++ b/awx/ui/static/js/lists/QueuedJobs.js @@ -39,7 +39,8 @@ angular.module('QueuedJobsDefinition', []) icon: 'icon-job-{{ queued_job.status }}', iconOnly: true, ngClick:"viewJobLog(queued_job.id)", - searchable: false + searchable: false, + nosort: true }, created: { label: 'Created On', diff --git a/awx/ui/static/js/lists/RunningJobs.js b/awx/ui/static/js/lists/RunningJobs.js index ebae45fdd2..2d53258305 100644 --- a/awx/ui/static/js/lists/RunningJobs.js +++ b/awx/ui/static/js/lists/RunningJobs.js @@ -39,7 +39,8 @@ angular.module('RunningJobsDefinition', []) icon: 'icon-job-{{ running_job.status }}', iconOnly: true, ngClick:"viewJobLog(running_job.id)", - searchable: false + searchable: false, + nosort: true }, started: { label: 'Started On',