From: Moritz Bunkus Date: Thu, 30 Dec 2010 15:45:54 +0000 (+0100) Subject: Per default aufsteigend sortieren X-Git-Tag: release-2.6.2beta1~17^2~1^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=31763b4ace84990c9e3743a50849ec51ab921dfa;p=kivitendo-erp.git Per default aufsteigend sortieren Conflicts: SL/DB/Manager/Customer.pm SL/DB/Manager/SalesProcess.pm --- diff --git a/SL/DB/Helpers/Sorted.pm b/SL/DB/Helpers/Sorted.pm index 833da34ca..631f03142 100644 --- a/SL/DB/Helpers/Sorted.pm +++ b/SL/DB/Helpers/Sorted.pm @@ -48,7 +48,7 @@ sub _make_sort_spec { if (!$sort_spec{default}) { my @primary_keys = $meta->primary_key; - $sort_spec{default} = [ "" . $primary_keys[0], 0 ]; + $sort_spec{default} = [ "" . $primary_keys[0], 1 ]; } $sort_spec{columns} ||= { SIMPLE => [ map { "$_" } $meta->columns ] };