From c6c81144fc9c5976e3a747a27b469f7d9d991e67 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Thu, 27 Jan 2000 05:48:35 +0000 Subject: Allow searches for "all keywords" or "no keywords"; fixed some other bugs around keyword queries. --- query.cgi | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 0b6211bfb..5ed72da9b 100755 --- a/query.cgi +++ b/query.cgi @@ -136,8 +136,8 @@ sub ProcessFormStuff { "changedin", "votes", "short_desc", "short_desc_type", "long_desc", "long_desc_type", "bug_file_loc", "bug_file_loc_type", "status_whiteboard", - "status_whiteboard_type", "keywords", "bug_id", - "bugidtype") { + "status_whiteboard_type", "bug_id", + "bugidtype", "keywords", "keywords_type") { $default{$name} = ""; $type{$name} = 0; } @@ -643,18 +643,19 @@ if (@::legal_keywords) { print qq{ Keywords: - - + }; - foreach my $i (["or", "Any of the listed keywords set"]) { - my ($n, $d) = (@$i); - my $sel = ""; - if ($default{"keywords"} eq $n) { - $sel = " SELECTED"; - } - print qq{