From 31763b4ace84990c9e3743a50849ec51ab921dfa Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 30 Dec 2010 16:45:54 +0100 Subject: [PATCH] Per default aufsteigend sortieren Conflicts: SL/DB/Manager/Customer.pm SL/DB/Manager/SalesProcess.pm --- SL/DB/Helpers/Sorted.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] }; -- 2.20.1