projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
992c6d6
)
usability: customer tags with checkboxes instead of a select-multiple (fix advanced...
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 21 Feb 2017 02:45:54 +0000
(18:45 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 21 Feb 2017 02:45:54 +0000
(18:45 -0800)
httemplate/search/cust_main.html
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_main.html
b/httemplate/search/cust_main.html
index
1aa3390
..
b0ce31a
100755
(executable)
--- a/
httemplate/search/cust_main.html
+++ b/
httemplate/search/cust_main.html
@@
-59,10
+59,17
@@
for my $param ( @scalars ) {
}
#lists
-for my $param (qw( classnum refnum
tagnum
pkg_classnum )) {
+for my $param (qw( classnum refnum pkg_classnum )) {
$search_hash{$param} = [ $cgi->param($param) ];
}
+#tags
+my $params = $cgi->Vars;
+$search_hash{'tagnum'} = [
+ map { /^tagnum(\d+)/ && $1 }
+ grep { /^tagnum(\d+)/ && $cgi->param($_) } keys %$params
+];
+
###
# parse dates
###