[freeside-commits] branch FREESIDE_3_BRANCH updated. 49c065a38b0bae0956abf0c791062f4c60ac5b51
Ivan
ivan at 420.am
Mon Mar 21 13:58:17 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 49c065a38b0bae0956abf0c791062f4c60ac5b51 (commit)
from 83ae7beac0d7dd6130c47327908afc33f31e725a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 49c065a38b0bae0956abf0c791062f4c60ac5b51
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Feb 9 22:39:32 2016 -0800
optimize Reports->Customers->List Customers, RT#20173
diff --git a/FS/FS/access_user.pm b/FS/FS/access_user.pm
index 4a234ed..a3a94c4 100644
--- a/FS/FS/access_user.pm
+++ b/FS/FS/access_user.pm
@@ -756,7 +756,6 @@ sub sched_item {
sub locale {
my $self = shift;
return $self->{_locale} if exists($self->{_locale});
-warn "access_user->locale called\n";
$self->{_locale} = $self->option('locale');
}
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index dde6dbd..411ff16 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -236,8 +236,8 @@
% my $pkgnum = $_->pkgnum;
% my $part_pkg = $_->part_pkg;
%
-% my $pkg_comment = $part_pkg->pkg_comment(nopkgpart => 1);
-% my $show = $curuser->default_customer_view =~ /^(jumbo|packages)$/
+% my $pkg_comment = $part_pkg->pkg_comment( nopkgpart=>1 );
+% my $show = $default_customer_view =~ /^(jumbo|packages)$/
% ? ''
% : ';show=packages';
% my $frag = "cust_pkg$pkgnum"; #hack for IE ignoring real #fragment
@@ -320,6 +320,8 @@ my $maxrecords = $conf->config('maxsearchrecordsperpage');
# summarize more than this many services of the same svcpart
my $large_pkg_size = $conf->config('cust_pkg-large_pkg_size') || 0;
+my $default_customer_view = $curuser->default_customer_view;
+
my $limit = '';
$limit .= "LIMIT $maxrecords" if $maxrecords;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/access_user.pm | 1 -
httemplate/search/cust_main.cgi | 6 ++++--
2 files changed, 4 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list