From 575c4b7f700f3068e105d7d248f48b501cbb006c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 6 Jan 2014 14:38:48 +0100 Subject: [PATCH] Hintergrundjobverlauf: Standardsortierung umdrehen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Man ist meistens an den Berichten derjenigen Jobs interessiert, die zuletzt ausgeführt wurden. Daher die in der Sortierung vorne anzeigen. --- SL/DB/Manager/BackgroundJobHistory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Manager/BackgroundJobHistory.pm b/SL/DB/Manager/BackgroundJobHistory.pm index 4f1ddd305..5d7b0d078 100644 --- a/SL/DB/Manager/BackgroundJobHistory.pm +++ b/SL/DB/Manager/BackgroundJobHistory.pm @@ -13,7 +13,7 @@ sub object_class { 'SL::DB::BackgroundJobHistory' } __PACKAGE__->make_manager_methods; sub _sort_spec { - return ( default => [ 'run_at', 1 ], + return ( default => [ 'run_at', 0 ], columns => { SIMPLE => 'ALL' } ); } -- 2.20.1