Re: [Bug #69] [Base] Not possible to sort bugs by {Component, Priority, Status}

Turbo Fredriksson <turbo-lqJR/[email protected]> 27 Aug 2003 10:07:23 +0200
Newsgroups gmane.comp.bug-tracking.anthill.devel
Organization Bah!
Message-ID <[email protected]>
>>>>> "anthill-daemon" == anthill-daemon  <anthill-daemon-+mQDA36h6dWw5LPnMra/[email protected]> writes:

    anthill-daemon> http://anthill.vmlinuz.ca/anthill/query.php?bug=69


    anthill-daemon> I'm not quite sure why yours is looking like that...
    anthill-daemon> mine certainly doesn't look that way here.  Could be
    anthill-daemon> a screen resolution issue perhaps?

Most defenatly! I'm running in 800x600 because of an (very) old monitor...

    anthill-daemon> If you have a suggestion on how to fix that without
    anthill-daemon> forcing someone to use a horizontal scrollbar, ensuring
    anthill-daemon> that fonts are 100% identical so I can use pixel width,
    anthill-daemon> I really don't know how this can be fixed.

See attached patch... Simply, two rows instead of one...

See http://www.bayour.com/misc/anthill-buglist2.PNG

_______________________________________________
Anthill-workers mailing list
Anthill-workers-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-workers
anthill.patch (text/x-patch, 4.6 KB)
Index: buglist.php
===================================================================
RCS file: /cvsroot/anthill-0.2/buglist.php,v
retrieving revision 1.38
diff -u -b -B -u -r1.38 buglist.php
--- buglist.php	27 Jul 2003 03:47:29 -0000	1.38
+++ buglist.php	27 Aug 2003 07:56:53 -0000
@@ -157,8 +157,18 @@
 ?>
   <table cellpadding="0" cellspacing="0" border="0" width="100%">
     <tr bgcolor="<? print($config['barcol1']); ?>">
+      <td><b><? print(gettext("Bug")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Product")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Component")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Priority")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Owner")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Status")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Resolution")); ?>#</b>&nbsp;</td>
+      <td><b><? print(gettext("Summary")); ?>#</b>&nbsp;</td>
+    </tr>
+
+    <tr bgcolor="<? print($config['barcol1']); ?>">
       <td>
-        <b><? print(gettext("Bug")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=bid&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=bid&order=DESC\">$down"); ?></a>
       </td>
@@ -162,8 +172,8 @@
            <a href="<? print($url . "&sort=bid&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=bid&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Product")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=prod&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=prod&order=DESC\">$down"); ?></a>
       </td>
@@ -167,8 +177,8 @@
            <a href="<? print($url . "&sort=prod&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=prod&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Component")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=comp&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=comp&order=DESC\">$down"); ?></a>
       </td>
@@ -172,8 +182,8 @@
            <a href="<? print($url . "&sort=comp&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=comp&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Priority")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=pri&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=pri&order=DESC\">$down"); ?></a>
       </td>
@@ -177,8 +187,8 @@
            <a href="<? print($url . "&sort=pri&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=pri&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Owner")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=own&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=own&order=DESC\">$down"); ?></a>
       </td>
@@ -182,8 +192,8 @@
            <a href="<? print($url . "&sort=own&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=own&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Status")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=stat&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=stat&order=DESC\">$down"); ?></a>
       </td>
@@ -187,8 +197,8 @@
            <a href="<? print($url . "&sort=stat&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=stat&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Resolution")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=res&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=res&order=DESC\">$down"); ?></a>
       </td>
@@ -192,8 +202,8 @@
            <a href="<? print($url . "&sort=res&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=res&order=DESC\">$down"); ?></a>
       </td>
+
       <td>
-        <b><? print(gettext("Summary")); ?>#</b>&nbsp;
            <a href="<? print($url . "&sort=summ&order=ASC\">$up"); ?></a>
            <a href="<? print($url . "&sort=summ&order=DESC\">$down"); ?></a>
       </td>
Index: include.php
===================================================================
RCS file: /cvsroot/anthill-0.2/include.php,v
retrieving revision 1.4
diff -u -b -B -u -r1.4 include.php
--- include.php	30 Jan 2002 05:28:53 -0000	1.4
+++ include.php	27 Aug 2003 07:56:53 -0000
@@ -3,5 +3,5 @@
   // $Id: include.php,v 1.4 2002/01/30 05:28:53 vdanen Exp $
 
   // configuration file 
-  include_once('/home/vdanen/public_html/0.2.0/include/config.inc.php');
+  include_once('./include/config.inc.php');
 ?>