combine ticket notification scrips, #15353
[freeside.git] / httemplate / search / cust_bill_event.cgi
index 16c9acd..90c8913 100644 (file)
@@ -113,7 +113,8 @@ my $sql_query = {
                     FS::UI::Web::cust_sql_fields(),
                   ),
   'hashref'   => {}, 
-  'extra_sql' => "$where ORDER BY _date ASC",
+  'extra_sql' => $where,
+  'order_by'  => 'ORDER BY _date ASC',
   'addl_from' => $join,
 };