summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-04-23 20:16:51 -0700
committerIvan Kohler <ivan@freeside.biz>2014-04-23 20:16:51 -0700
commit4b2a48f5247303f07a00b42eb3091145be1150e2 (patch)
treec3927f9f2052255cd1186e609e76878057a2f6ad /httemplate
parent03ab761a53bffa14d09f23fb8b9702806a1c6b79 (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"