This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Web: Add class field to default gnatsweb fields
- To: gcc-patches at gcc dot gnu dot org
- Subject: Web: Add class field to default gnatsweb fields
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 9 Mar 2000 11:43:43 +0100
Since we are now using the GNATS class field in a meaningful way, it
would be good if queries would include that field by default.
Of course, this change won't affect people that have already connected
to GNATS, since these settings are stored in the cookie (aka
one-click-querying :-)
In the top of gnatsweb.pl, it says that customization should happen in
gnatsweb-site.pl (so the style of my patch is discouraged), but I
don't know perl enough to provide a gnatsweb-site.pl.
Regards,
Martin
Index: gnatsweb.pl
===================================================================
RCS file: /cvs/gcc/wwwdocs/cgi-bin/gnatsweb.pl,v
retrieving revision 1.5
diff -u -r1.5 gnatsweb.pl
--- gnatsweb.pl 1999/12/01 08:35:38 1.5
+++ gnatsweb.pl 2000/03/09 10:37:28
@@ -2380,7 +2380,7 @@
# @fields - param names of columns displayable in query results
# @deffields - default displayed columns
- @deffields = ("category", "state", "responsible", "synopsis");
+ @deffields = ("category", "state", "class", "responsible", "synopsis");
@fields = ("category", "confidential", "state", "class",
"severity", "priority",
"release", "quarter", "responsible", "submitter_id", "originator",