summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/cust_main_dayranges.html
diff options
context:
space:
mode:
authorC.J. Adams-Collier <cjac@colliertech.org>2014-09-09 17:42:19 -0700
committerC.J. Adams-Collier <cjac@colliertech.org>2014-09-09 17:42:19 -0700
commit9f17681a11d2e20f5baa7acf19873daf33058aa9 (patch)
tree6938c6cd13e8143589106beb2d57367e5ab5dbce /httemplate/search/elements/cust_main_dayranges.html
parent845a6ea956c4725b800a82cc1b2ae68cd485a015 (diff)
altered FS::UI::Web::cust_sort_fields() and cust_sql_fields() so that ->param('cust_fields') argument is no longer required
when the parameter is not passed, the initial value previously passed to cust_header() is used if @cust_fields is empty, cust_header() is called with no arguments
Diffstat (limited to 'httemplate/search/elements/cust_main_dayranges.html')
-rw-r--r--httemplate/search/elements/cust_main_dayranges.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/cust_main_dayranges.html b/httemplate/search/elements/cust_main_dayranges.html
index ddde23a7e..5dbece861 100644
--- a/httemplate/search/elements/cust_main_dayranges.html
+++ b/httemplate/search/elements/cust_main_dayranges.html
@@ -187,7 +187,7 @@ my $sql_query = {
'cust_main.custnum',
$range_cols,
$packages_cols,
- FS::UI::Web::cust_sql_fields($cgi->param('cust_fields')),
+ FS::UI::Web::cust_sql_fields(),
'payby',
),
'extra_sql' => $where,