add Net 3 terms, RT#11641
[freeside.git] / httemplate / search / pay_batch.cgi
index ebd323e..6d571b4 100755 (executable)
@@ -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',