X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_bill.html;h=25a7ea05109bd76eadeed15cff6434b9104d98ff;hp=9166f6dcbbcc524a179a9290ede2d8f26d9c9929;hb=4879d6626e33e0df7d1655cc4ee4ddaff4279218;hpb=68834437676eff4326b488150005ea8b4f004a01 diff --git a/httemplate/search/cust_bill.html b/httemplate/search/cust_bill.html index 9166f6dcb..25a7ea051 100755 --- a/httemplate/search/cust_bill.html +++ b/httemplate/search/cust_bill.html @@ -159,7 +159,8 @@ if ( $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/ ) { FS::cust_bill->owed_sql. ' AS owed', FS::cust_bill->net_sql. ' AS net', ), - 'extra_sql' => "$extra_sql $orderby" + 'extra_sql' => $extra_sql, + 'order_by' => $orderby, }; }