From: Jeroen van Wolffelaar Date: Mon, 20 Feb 2006 14:24:46 +0000 (+0000) Subject: - Fix typo in quicksearch box X-Git-Tag: switch-to-templates~113 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=20e10a3bde4a51bfabc7f4ac47422163a01f29e1;p=deb%2Fpackages.git - Fix typo in quicksearch box - add option for contents search - drop "only" from "Package names only", because that makes less sense now - parse 'default' correctly --- diff --git a/lib/Packages/HTML.pm b/lib/Packages/HTML.pm index 16ba8c7..526b1e8 100644 --- a/lib/Packages/HTML.pm +++ b/lib/Packages/HTML.pm @@ -410,8 +410,11 @@ sub header { my %values = %{$params{search_field_values}}; my %checked_searchon = ( names => "", all => "", - sourcenames => "", ); - $checked_searchon{$values{searchon}} = "checked=\"checked\""; + sourcenames => "", + contents => ""); + $checked_searchon{$params{searchon}} = "checked=\"checked\""; + $checked_searchon{names} = "checked=\"checked\"" + if $params{searchon} eq 'default'; $search_in_header = <
@@ -426,12 +429,14 @@ sub header {
Search on: -   +  
+ +