summaryrefslogtreecommitdiff
path: root/httemplate/search/pay_batch.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-11-11 01:44:43 +0000
committerivan <ivan>2010-11-11 01:44:43 +0000
commit033709735189caa804476fc17e9946809516fcf7 (patch)
tree8e10a68a570f73bbff6199d6b574716c407f4576 /httemplate/search/pay_batch.cgi
parent315efbebcacc909a11eb0379bd2f67bd3145243c (diff)
sort by clicking on headers, RT#6465
Diffstat (limited to 'httemplate/search/pay_batch.cgi')
-rwxr-xr-xhttemplate/search/pay_batch.cgi3
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',