summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-04-23 20:16:52 -0700
committerIvan Kohler <ivan@freeside.biz>2014-04-23 20:16:52 -0700
commit7d26901e658bd61078f10c0713676f94375f3283 (patch)
tree05906a47a85022b665d1f291c00997554505a643 /httemplate
parent297ddd01fb112cf45a6dab819ec56803c953bda5 (diff)
optimize ordering a package for a customer with hundreds of existing locations, RT#28527
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/tr-select-cust_location.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html
index 4ed9cd48e..abaaa5b42 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -199,7 +199,10 @@ Example:
% next if $cust_main && $cust_main->ship_locationnum == $loc->locationnum;
<OPTION VALUE="<% $loc->locationnum %>"
<% $locationnum == $loc->locationnum ? 'SELECTED' : '' %>
- ><% $loc->line |h %>
+ ><% $loc->line( cust_main => $cust_main,
+ countrydefault => $countrydefault,
+ )
+ |h %>
% }
% if ( $addnew ) {
<OPTION VALUE="-1"