This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Web: Add class field to default gnatsweb fields


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",


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]