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:
35fcd24
)
Kundenbericht liess sich nicht nach Adresse sortieren
author
Philip Reetz
<p.reetz@linet-services.de>
Thu, 8 Feb 2007 12:19:02 +0000
(12:19 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Thu, 8 Feb 2007 12:19:02 +0000
(12:19 +0000)
SL/CT.pm
patch
|
blob
|
history
diff --git
a/SL/CT.pm
b/SL/CT.pm
index
4578224
..
8a3ff85
100644
(file)
--- a/
SL/CT.pm
+++ b/
SL/CT.pm
@@
-695,6
+695,9
@@
sub search {
my $where = "1 = 1";
$form->{sort} = "name" unless ($form->{sort});
+ if ($form->{sort} eq "address") {
+ $form->{sort} = "country,city,street";
+ }
if ($form->{"$form->{db}number"}) {
my $companynumber = $form->like(lc $form->{"$form->{db}number"});