X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c654c46b8b5f9475d2515750aa4bbb3fdddc63fc..ca12e8dfc4773aabc13818a0398e06e44028e2bc:/SL/AR.pm diff --git a/SL/AR.pm b/SL/AR.pm index e37128c19..0a8987979 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -471,9 +471,7 @@ sub ar_transactions { my $sortdir = !defined $form->{sortdir} ? 'ASC' : $form->{sortdir} ? 'ASC' : 'DESC'; my $sortorder = join(', ', map { "$_ $sortdir" } @a); - if (grep({ $_ eq $form->{sort} } - qw(id transdate duedate invnumber ordnumber name - datepaid employee shippingpoint shipvia))) { + if (grep({ $_ eq $form->{sort} } qw(id transdate duedate invnumber ordnumber name datepaid employee shippingpoint shipvia transaction_description))) { $sortorder = $form->{sort} . " $sortdir"; }