summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorlevinse <levinse>2010-11-05 03:56:07 +0000
committerlevinse <levinse>2010-11-05 03:56:07 +0000
commit042d37f557e3ad0cf2f02753d20e70dfbd1f73a9 (patch)
tree6378701fc2924e3233ce72cc61f95c3d5e9f1eb0 /httemplate/search
parentd86c2687d55370e9aee258b7ed9b34ab181ffbf1 (diff)
add a multi-select for tags to advanced customer search, RT6376
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/cust_main.html2
-rwxr-xr-xhttemplate/search/report_cust_main.html8
2 files changed, 9 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
index 5bfdf170b..04ecf894a 100755
--- a/httemplate/search/cust_main.html
+++ b/httemplate/search/cust_main.html
@@ -56,7 +56,7 @@ for my $param ( @scalars ) {
}
#lists
-for my $param (qw( classnum payby )) {
+for my $param (qw( classnum payby tagnum )) {
$search_hash{$param} = [ $cgi->param($param) ];
}
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index 03b3452d6..d6be4fbc6 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -50,6 +50,14 @@
% }
+ <% include( '/elements/tr-select-cust_tag.html',
+ 'cgi' => $cgi,
+ 'is_report' => 1,
+ 'multiple' => 1,
+ 'all_selected' => 1,
+ )
+ %>
+
<% include( '/elements/tr-select-payby.html',
'payby_type' => 'cust',
'multiple' => 1,