X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/af85349024c0d1fc6db899cd84708c7fb6dfb7f4..6277aefffea29c8aa6f684bd86c55cdc6366f32f:/SL/CT.pm diff --git a/SL/CT.pm b/SL/CT.pm index 3057391e3..4578224bf 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -182,10 +182,10 @@ sub get_tuple { } $sth->finish; - # get languages + # 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);