Bug 7966 - RFE: Return to bug list from bug display
RFE: Return to bug list from bug display
Product: Bugzilla
Classification: Community
Component: Bugzilla General (Show other bugs)
All Linux
medium Severity low (vote)
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-12-23 06:34 EST by hno
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-24 13:48:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description hno 1999-12-23 06:34:30 EST
It would be very convenient if there was a button to return to the bug list
when viewing/editing a bug in a query result. There exists buttons to
navigate thru the list, but nothing to view the actual list again.
Comment 1 Riley H Williams 1999-12-23 15:54:59 EST
I use my browser's BACK button for this, if that helps.
Comment 2 David Lawrence 1999-12-23 15:57:59 EST
I admit this would be nice but would actually not be a trivial addition. I will
look into this as time allows.
Comment 3 hno 1999-12-23 17:46:59 EST
It does not help much when you have navigated a few steps, added some comment
and so on.

Adding it should be quite trivial. You have the bugid list in a cookie, and it
should not be that much work to build a display from that by either using a
modified buglist script, or adding the functionality to the existing one.

Looking thru the script it is actually quite trivial. There is a SQL backdoor on
buglist.cgi, and you can use it to create any query. Simply create a link to


where 4753,7683,4532 is the current value of BUGLIST.
Comment 4 hno 1999-12-23 17:48:59 EST
This diff should do it I think.. (not tested, don't have a bugzilla installed

--- CGI.pl.orig	Wed Dec  1 23:56:06 1999
+++ CGI.pl	Thu Dec 23 23:53:19 1999
@@ -190,7 +190,9 @@
 		my @bugs = split(/:/, $::COOKIE{"BUGLIST"});
 		my $cur = lsearch(\@bugs, $::FORM{"id"});
 #		print "<CENTER><B>Bug List:</B> (@{[$cur + 1]} of @{[$#bugs + 1]})\n";
-      	print "<B>Bug List:</B> (@{[$cur + 1]} of @{[$#bugs + 1]})\n";
+      	print "<B>Bug List:</B> (";
+		print "<A HREF=\"buglist.cgi?sql=bugs.bug_id%20in%20(";
+		print join(",",@bugs),")\"@{[$cur + 1]} of @{[$#bugs + 1]}</A>)\n";
 		print "<A HREF=\"show_bug.cgi?id=$bugs[0]\">First</A>\n";
 		print "<A HREF=\"show_bug.cgi?id=$bugs[$#bugs]\">Last</A>\n";
 		if ($cur > 0) {
Comment 5 David Lawrence 2000-01-24 13:48:59 EST
My fault. I did overlook that one feature of the Bugzilla system. You are right
using that functionality it is a simple task. I have added it and should show up

Note You need to log in before you can comment on or make changes to this bug.