[ARVADOS] updated: 42d84bd014b3ab3a1906c9ba68b39835765fe705
git at public.curoverse.com
git at public.curoverse.com
Thu Jul 31 21:54:00 EDT 2014
Summary of changes:
apps/workbench/app/controllers/application_controller.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 42d84bd014b3ab3a1906c9ba68b39835765fe705 (commit)
from 09e3c7102376790a2a6bebb0c77f43fa271f6d74 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 42d84bd014b3ab3a1906c9ba68b39835765fe705
Author: Tom Clegg <tom at curoverse.com>
Date: Thu Jul 31 21:49:51 2014 -0400
Fix display order of recent jobs and pipelines. closes #3148
diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb
index f6c782d..df57e9e 100644
--- a/apps/workbench/app/controllers/application_controller.rb
+++ b/apps/workbench/app/controllers/application_controller.rb
@@ -617,8 +617,8 @@ class ApplicationController < ActionController::Base
(Job.limit(10) |
PipelineInstance.limit(10)).
sort_by do |x|
- x.finished_at || x.started_at || x.created_at rescue x.created_at
- end
+ (x.finished_at || x.started_at rescue nil) || x.modified_at || x.created_at
+ end.reverse
end
helper_method :my_project_tree
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list