[freeside-commits] branch FREESIDE_3_BRANCH updated. b4dd79750936de7aa6998cea77f9091cdbd67392
Ivan
ivan at 420.am
Sat Aug 9 17:32:22 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via b4dd79750936de7aa6998cea77f9091cdbd67392 (commit)
from c9a033f478e3bcd58d75d12bc9b5ffbeaef663cd (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 b4dd79750936de7aa6998cea77f9091cdbd67392
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Aug 9 17:32:21 2014 -0700
optimize package view with tons of packages, RT#28526
diff --git a/httemplate/view/cust_main/packages/location.html b/httemplate/view/cust_main/packages/location.html
index 871bfcb..c5ef10e 100644
--- 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 $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;
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/cust_main/packages/location.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list