search over all with quoting
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 25 Apr 2009 14:20:42 +0000 (14:20 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 25 Apr 2009 14:20:42 +0000 (14:20 +0000)
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1162 07558da8-63fa-0310-ba24-9fe276d99e06

vhost/webpac2.cgi

index 9d086a0..12ca195 100755 (executable)
@@ -204,7 +204,7 @@ if ( my $search = param('search') ) {
                my @only_input = param('only_input');
                push @search, '(' . join(') OR (', map { "input=$_" } @only_input) . ')' if @only_input;
        } else {
-               push @search, "xml=$search";
+               push @search, "all=\"$search\"";
        }
 
        my $q = '(' . join(') AND (', @search) . ')';