From 20e10a3bde4a51bfabc7f4ac47422163a01f29e1 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Mon, 20 Feb 2006 14:24:46 +0000 Subject: [PATCH] - 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 --- lib/Packages/HTML.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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: -   +  
+ +
-- 2.39.2