summaryrefslogtreecommitdiff
path: root/httemplate/search/pay_batch.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-11-11 01:44:50 +0000
committerivan <ivan>2010-11-11 01:44:50 +0000
commit772a99e959e5a1fa25fde0d0080eccb9d8f6e1d0 (patch)
treee9bedbf8fccb16b7374422e09a6b9649226a4aac /httemplate/search/pay_batch.cgi
parent9e8c4a41aa10f40c7c8fc744e37ea8b21d4dce1e (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',