From: Jeroen van Wolffelaar Date: Tue, 21 Feb 2006 14:26:24 +0000 (+0000) Subject: Use the correct URL parameter separator (&) X-Git-Tag: switch-to-templates~89 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;ds=inline;h=02ce5077a342d33136fe8e3a8568f8291d25e11a;hp=47c93cb066364b11f0b216589ddc68671435b060;p=deb%2Fpackages.git Use the correct URL parameter separator (&) --- diff --git a/lib/Packages/DoSearch.pm b/lib/Packages/DoSearch.pm index d8aa6d8..53a6f08 100644 --- a/lib/Packages/DoSearch.pm +++ b/lib/Packages/DoSearch.pm @@ -39,7 +39,7 @@ sub do_search { my $suites_param = join ',', @{$params->{values}{suite}{no_replace}}; my $sections_param = join ',', @{$params->{values}{section}{no_replace}}; my $archs_param = join ',', @{$params->{values}{arch}{no_replace}}; - $opts->{common_params} = "suite=$suites_param;section=$sections_param;keywords=$keyword_esc;searchon=$searchon;arch=$archs_param"; + $opts->{common_params} = "suite=$suites_param§ion=$sections_param&keywords=$keyword_esc&searchon=$searchon&arch=$archs_param"; # for output my $keyword_enc = encode_entities $keyword || ''; @@ -126,7 +126,10 @@ sub do_search { if ($opts->{exact}) { $printed++; - hint( "You have searched only for words exactly matching your keywords. You can try to search {common_params}\">allowing subword matching." ); + hint( "You have searched only for words exactly matching your + keywords. You can try to search {common_params}")."\">allowing + subword matching." ); } } hint( ( $printed ? "Or you" : "You" )." can try a different search on the Packages search page." ); @@ -246,7 +249,7 @@ sub print_packages { map { $_->{$pkg}||{} } @func_args ); } } elsif (@$pkgs_list) { - $str .= "

{common_params}\">". + $str .= "

{common_params}")."\">". ($#{$pkgs_list}+1)." results have not been displayed because you requested only exact matches.

"; } $str .= '';