projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optimize package view with tons of packages, RT#28526
[freeside.git]
/
httemplate
/
view
/
cust_main
/
packages
/
location.html
diff --git
a/httemplate/view/cust_main/packages/location.html
b/httemplate/view/cust_main/packages/location.html
index
871bfcb
..
c5ef10e
100644
(file)
--- a/
httemplate/view/cust_main/packages/location.html
+++ b/
httemplate/view/cust_main/packages/location.html
@@
-74,7
+74,7
@@
my $countrydefault = $opt{'countrydefault'} || 'US';
my $statedefault = $opt{'statedefault'}
|| ($countrydefault eq 'US' ? 'CA' : '');
my $statedefault = $opt{'statedefault'}
|| ($countrydefault eq 'US' ? 'CA' : '');
-my $loc = $cust_pkg->cust_location_or_main;
+my $loc = $cust_pkg->cust_location_or_main
('_cache'=>$opt{cust_location_cache})
;
# dubious--they should all have a location now
my $default = $cust_pkg->locationnum == $opt{'cust_main'}->ship_locationnum;
# dubious--they should all have a location now
my $default = $cust_pkg->locationnum == $opt{'cust_main'}->ship_locationnum;