summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-08-28 18:52:21 -0700
committerIvan Kohler <ivan@freeside.biz>2016-08-28 18:52:21 -0700
commit8fa3c92544cc617ea696dee9dfdce3f9ed6b2c99 (patch)
tree59a73e9b761b92136643a5a24e0c8566a75ed140 /httemplate
parenta6f2325978198b4e744d9c66427bcc37dd3fcdab (diff)
set the number of packages per page on customer view, RT#72089
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/view/cust_main/packages.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 43ebb282b..d78bc969b 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -308,7 +308,7 @@ my $num_pkgs = $cust_main->$method({
'extra_sql' => $extra_sql,
});
-my $maxrecords = 10;
+my $maxrecords = $conf->config('cust_main-packages-num_per_page') || 10;
my $offset = $cgi->param('offset') =~ /^(\d+)$/ ? $1 : 0;
$cgi->delete('offset');