diff options
Diffstat (limited to 'httemplate/search/cust_event.html')
-rw-r--r-- | httemplate/search/cust_event.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_event.html b/httemplate/search/cust_event.html index a0429e44f..503f252bd 100644 --- a/httemplate/search/cust_event.html +++ b/httemplate/search/cust_event.html @@ -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, }; |