X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/652397fced242d39ff1b5700c7fce1cbbaa37d5a..828bd68326ee5bd732d3d01e9f166dacb7424657:/SL/CT.pm diff --git a/SL/CT.pm b/SL/CT.pm index a4eb0b216..4578224bf 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -185,7 +185,7 @@ sub get_tuple { # get payment terms $query = qq|SELECT id, description FROM payment_terms - ORDER BY 1|; + ORDER BY sortkey|; $sth = $dbh->prepare($query); $sth->execute || $form->dberror($query); @@ -315,7 +315,7 @@ sub taxaccounts { # get payment terms $query = qq|SELECT id, description FROM payment_terms - ORDER BY 1|; + ORDER BY sortkey|; $sth = $dbh->prepare($query); $sth->execute || $form->dberror($query);