From da6143f4aae6af35f60b8230b82f649b3b0cbd05 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Tue, 24 Jun 2003 01:01:35 +0000 Subject: Fix for bug 204631: enhances config.cgi to generate a list of queryable fields so third-party clients can populate search forms with the list. r=gerv a=myk --- config.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index d1ad3cdc9..a02ff8c7b 100755 --- a/config.cgi +++ b/config.cgi @@ -87,6 +87,9 @@ foreach my $status (@::legal_bug_status) { $vars->{'open_status'} = \@open_status; $vars->{'closed_status'} = \@closed_status; +# Generate a list of fields that can be queried. +$vars->{'field'} = [GetFieldDefs()]; + # Determine how the user would like to receive the output; # default is JavaScript. my $format = GetFormat("config", $::FORM{'format'}, $::FORM{'ctype'} || "js"); -- cgit v1.2.3-24-g4f1b