projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321730c
)
Per default aufsteigend sortieren
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 30 Dec 2010 15:45:54 +0000
(16:45 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 30 Dec 2010 15:45:54 +0000
(16:45 +0100)
Conflicts:
SL/DB/Manager/Customer.pm
SL/DB/Manager/SalesProcess.pm
SL/DB/Helpers/Sorted.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helpers/Sorted.pm
b/SL/DB/Helpers/Sorted.pm
index
833da34
..
631f031
100644
(file)
--- 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 ] };