summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill.html
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.html
parent9e8c4a41aa10f40c7c8fc744e37ea8b21d4dce1e (diff)
sort by clicking on headers, RT#6465
Diffstat (limited to 'httemplate/search/cust_bill.html')
-rwxr-xr-xhttemplate/search/cust_bill.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill.html b/httemplate/search/cust_bill.html
index cf6ce4999..4e40fb06d 100755
--- a/httemplate/search/cust_bill.html
+++ b/httemplate/search/cust_bill.html
@@ -22,6 +22,13 @@
sub { time2str('%b %d %Y', shift->_date ) },
\&FS::UI::Web::cust_fields,
],
+ 'sort_fields' => [
+ 'COALESCE( agent_invid, invnum )',
+ FS::cust_bill->owed_sql,
+ FS::cust_bill->net_sql,
+ 'charged',
+ '_date',
+ ],
'align' => 'rrrrl'.FS::UI::Web::cust_aligns(),
'links' => [
$link,