]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Allow querying by OS.
authorterry%netscape.com <>
Sat, 16 Jan 1999 06:05:41 +0000 (06:05 +0000)
committerterry%netscape.com <>
Sat, 16 Jan 1999 06:05:41 +0000 (06:05 +0000)
CHANGES
bug_status.html
enter_bug.cgi
makebugtable.sh
query.cgi

diff --git a/CHANGES b/CHANGES
index 59cd6c3a838fd360a74a4402ce23db14d1f07d24..66c8437c10ecf942eee0ff42007c67e5307354a1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -9,6 +9,15 @@ query the CVS tree.  For example,
 
 will tell you what has been changed in the last week.
 
+
+
+1/15/99 The op_sys field can now be queried by (and more easily tweaked).
+To make this perform reasonably, it needs an index.  The following MySQL 
+command will create the necessary index:
+
+       alter table bugs add index (op_sys);
+
+
 12/2/98 The op_sys and rep_platform fields have been tweaked.  op_sys
 is now an enum, rather than having the legal values all hard-coded in
 perl.  rep_platform now no longer allows a value of "X-Windows".
index 1f429fe9b6cdbcd5a5f30935d9ed710ea15df963..e351b414ad5f7dcf965e45776192d20db281f610 100755 (executable)
@@ -173,6 +173,20 @@ platforms include:
 <b>Note:</b> Selecting the option "All" does not select bugs assigned against all platforms.  It
 merely selects bugs that <b>occur</b> on all platforms.
 
+<a name="op_sys"><h2>Operating System</h2></a>
+This is the operating system against which the bug was reported.  Legal
+operating systems include:
+
+<UL>
+<LI> All (happens on all operating systems; cross-platform bug)
+<LI> Windows 95
+<LI> Mac System 8.0
+<LI> Linux
+</UL>
+
+Note that the operating system implies the platform, but not always.
+For example, Linux can run on PC and Macintosh and others.
+
 <a name="assigned_to"><h2>Assigned To</h2></a>
 
 This is the person in charge of resolving the bug.  Every time this
@@ -190,6 +204,6 @@ status field appropriately.
 <hr>
 <address><a href="http://home.netscape.com/people/terry/">Terry Weissman &lt;terry@netscape.com&gt;</a></address>
 <!-- hhmts start -->
-Last modified: Wed Dec  2 14:08:58 1998
+Last modified: Fri Jan 15 13:36:36 1999
 <!-- hhmts end -->
 </body> </html>
index 6c41d1e970abda0c2b39ca910d89733925f1e5b0..87abef887c9eee8bbd89f364c7e9cb4a83bd45f2 100755 (executable)
@@ -190,7 +190,7 @@ print "
   <TR>
     <td align=right><b><B><A HREF=\"bug_status.html#rep_platform\">Platform:</A></B></td>
     <TD>$platform_popup</TD>
-    <TD ALIGN=RIGHT><B>OS:</B></TD>
+    <TD ALIGN=RIGHT><B><A HREF=\"bug_status.html#op_sys\">OS:</A></B></TD>
     <TD>$opsys_popup</TD>
     <td align=right valign=top></td>
     <td rowspan=3></td>
index 260a24025f5e2eadd5243de0330c609e0c25facc..e9ac8b14004a67f7a97f2d82a81e8bb05b5875cf 100755 (executable)
@@ -52,6 +52,7 @@ index (assigned_to),
 index (delta_ts),
 index (bug_severity),
 index (bug_status),
+index (op_sys),
 index (priority),
 index (product),
 index (reporter),
index 7c601721e334f2633aae180e492f18059dae1521..170d84b9d82b54e28832411666c79e7cd34b7e9c 100755 (executable)
--- a/query.cgi
+++ b/query.cgi
@@ -31,6 +31,7 @@ use vars @::legal_resolution,
   @::legal_bug_status,
   @::legal_priority,
   @::legal_resolution,
+  @::legal_opsys,
   @::legal_platform,
   @::legal_components,
   @::legal_versions,
@@ -125,6 +126,7 @@ print "
 <th align=left><A HREF=\"bug_status.html\">Status</a>:</th>
 <th align=left><A HREF=\"bug_status.html\">Resolution</a>:</th>
 <th align=left><A HREF=\"bug_status.html#rep_platform\">Platform</a>:</th>
+<th align=left><A HREF=\"bug_status.html#op_sys\">OpSys</a>:</th>
 <th align=left><A HREF=\"bug_status.html#priority\">Priority</a>:</th>
 <th align=left><A HREF=\"bug_status.html#severity\">Severity</a>:</th>
 </tr>
@@ -145,6 +147,11 @@ print "
 </SELECT>
 </td>
 <td align=left valign=top>
+<SELECT NAME=\"op_sys\" MULTIPLE SIZE=7>
+@{[make_options(\@::legal_opsys, $default{'op_sys'}, $type{'op_sys'})]}
+</SELECT>
+</td>
+<td align=left valign=top>
 <SELECT NAME=\"priority\" MULTIPLE SIZE=7>
 @{[make_options(\@::legal_priority, $default{'priority'}, $type{'priority'})]}
 </SELECT>