combine ticket notification scrips, #15353
[freeside.git] / httemplate / search / cust_event.html
index a0429e4..503f252 100644 (file)
@@ -188,7 +188,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,
 };