summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill_event.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-11-11 01:44:50 +0000
committerivan <ivan>2010-11-11 01:44:50 +0000
commit772a99e959e5a1fa25fde0d0080eccb9d8f6e1d0 (patch)
treee9bedbf8fccb16b7374422e09a6b9649226a4aac /httemplate/search/cust_bill_event.cgi
parent9e8c4a41aa10f40c7c8fc744e37ea8b21d4dce1e (diff)
sort by clicking on headers, RT#6465
Diffstat (limited to 'httemplate/search/cust_bill_event.cgi')
-rw-r--r--httemplate/search/cust_bill_event.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill_event.cgi b/httemplate/search/cust_bill_event.cgi
index 16c9acdc7..90c89139c 100644
--- a/httemplate/search/cust_bill_event.cgi
+++ b/httemplate/search/cust_bill_event.cgi
@@ -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,
};