diff options
author | Mark Wells <mark@freeside.biz> | 2012-07-29 17:57:24 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-07-29 17:57:24 -0700 |
commit | f578e57b593adb9254b2e465c73116a0e0e617b5 (patch) | |
tree | b31d14a998f7b81bca8932462deeea1447144afb /httemplate/search/elements/search-html.html | |
parent | 7b6434395ecdbf8013309d22564b146736d6e927 (diff) |
update customer list and zip code report to use cust_location, #940
Diffstat (limited to 'httemplate/search/elements/search-html.html')
-rw-r--r-- | httemplate/search/elements/search-html.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html index 53167c26e..c27771494 100644 --- a/httemplate/search/elements/search-html.html +++ b/httemplate/search/elements/search-html.html @@ -337,6 +337,11 @@ % map { % if ( ref($_) eq 'CODE' ) { % &{$_}($row); +% } elsif ( ref($row) eq 'ARRAY' and +% $_ =~ /^\d+$/ ) { +% # for the 'straight SQL' case: specify fields +% # by position +% $row->[$_]; % } else { % $row->$_(); % } |