summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_event.html
diff options
context:
space:
mode:
authorivan <ivan>2010-11-11 01:44:43 +0000
committerivan <ivan>2010-11-11 01:44:43 +0000
commit033709735189caa804476fc17e9946809516fcf7 (patch)
tree8e10a68a570f73bbff6199d6b574716c407f4576 /httemplate/search/cust_event.html
parent315efbebcacc909a11eb0379bd2f67bd3145243c (diff)
sort by clicking on headers, RT#6465
Diffstat (limited to 'httemplate/search/cust_event.html')
-rw-r--r--httemplate/search/cust_event.html3
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,
};