X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/652397fced242d39ff1b5700c7fce1cbbaa37d5a..828bd68326ee5bd732d3d01e9f166dacb7424657:/SL/IC.pm diff --git a/SL/IC.pm b/SL/IC.pm index 56bc2eeeb..933b80173 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -1517,7 +1517,7 @@ sub create_links { # 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);