X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c654c46b8b5f9475d2515750aa4bbb3fdddc63fc..ca12e8dfc4773aabc13818a0398e06e44028e2bc:/SL/AP.pm diff --git a/SL/AP.pm b/SL/AP.pm index 24054c8cb..763fd3374 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -467,9 +467,7 @@ sub ap_transactions { my $sortdir = !defined $form->{sortdir} ? 'ASC' : $form->{sortdir} ? 'ASC' : 'DESC'; my $sortorder = join(', ', map { "$_ $sortdir" } @a); - if (grep({ $_ eq $form->{sort} } - qw(transdate id invnumber ordnumber name netamount tax amount - paid datepaid due duedate notes employee))) { + if (grep({ $_ eq $form->{sort} } qw(transdate id invnumber ordnumber name netamount tax amount paid datepaid due duedate notes employee transaction_description))) { $sortorder = $form->{sort} . " $sortdir"; }