diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-08-09 17:32:19 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-08-09 17:32:19 -0700 |
commit | 66c62dfc4734fa278e7e28c5fda5c4061778dc14 (patch) | |
tree | 1ea67c32eb0bc5121f057dadd85755aa6b7606b6 | |
parent | 16f7115e52ec02d1b1e3e59d8b5ba54126f1a506 (diff) |
optimize package view with tons of packages, RT#28526
-rw-r--r-- | httemplate/view/cust_main/packages/location.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages/location.html b/httemplate/view/cust_main/packages/location.html index 871bfcbe7..c5ef10ee4 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; |