summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-09-19 12:12:16 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-09-19 12:12:16 -0400
commit498c7b956b39a5a7e13d299f847f0827bf0b32ba (patch)
tree3d4564c2ad5bca622aa8f0e640f0b5f3a034b867 /httemplate/search/cust_main.html
parent6fe5f1481e6ec055d9ba4e7c936ab488126d65c2 (diff)
RT# 77532 - Updated advanced customer report to search contacts
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-xhttemplate/search/cust_main.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
index c89787953..7197bbde7 100755
--- a/httemplate/search/cust_main.html
+++ b/httemplate/search/cust_main.html
@@ -68,6 +68,11 @@ for my $param (qw( classnum refnum pkg_classnum )) {
$search_hash{$param} = [ $cgi->param($param) ];
}
+#contacts
+$search_hash{'contacts'} = {
+ map { $_ => $cgi->param($_), } grep { /^(contacts_*)/ && $cgi->param($_) } keys $cgi->Vars
+};
+
#tags
my $params = $cgi->Vars;
$search_hash{'tagnum'} = [