projects
/
webpac2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
086edfc
)
fix input selection with operators
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 26 May 2009 15:00:57 +0000
(15:00 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 26 May 2009 15:00:57 +0000
(15:00 +0000)
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1192
07558da8
-63fa-0310-ba24-
9fe276d99e06
vhost/webpac2.cgi
patch
|
blob
|
history
diff --git
a/vhost/webpac2.cgi
b/vhost/webpac2.cgi
index
72d4059
..
f09b0e4
100755
(executable)
--- a/
vhost/webpac2.cgi
+++ b/
vhost/webpac2.cgi
@@
-220,7
+220,7
@@
if ( my $search = param('search') ) {
push @search, $v;
my @only_input = param('only_input');
- push @search, '(
' . join(') OR (', map { "input=$_" } @only_input) . '
)' if @only_input;
+ push @search, '(
(' . join(') OR (', map { "input=\"$_\"" } @only_input) . ')
)' if @only_input;
} else {
push @search, "all=\"$search\"";
}