diff options
author | ivan <ivan> | 2010-11-11 01:44:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-11-11 01:44:43 +0000 |
commit | 033709735189caa804476fc17e9946809516fcf7 (patch) | |
tree | 8e10a68a570f73bbff6199d6b574716c407f4576 /httemplate/search/pay_batch.cgi | |
parent | 315efbebcacc909a11eb0379bd2f67bd3145243c (diff) |
sort by clicking on headers, RT#6465
Diffstat (limited to 'httemplate/search/pay_batch.cgi')
-rwxr-xr-x | httemplate/search/pay_batch.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi index ebd323e13..6d571b42f 100755 --- a/httemplate/search/pay_batch.cgi +++ b/httemplate/search/pay_batch.cgi @@ -3,7 +3,8 @@ 'name_singular' => 'batch', 'query' => { 'table' => 'pay_batch', 'hashref' => $hashref, - 'extra_sql' => "$extra_sql ORDER BY batchnum DESC", + 'extra_sql' => $extra_sql, + 'order_by' => 'ORDER BY batchnum DESC', }, 'count_query' => "$count_query $extra_sql", 'header' => [ 'Batch', |