Closed Bug 9789 Opened 25 years ago Closed 23 years ago

Would be nice if Bugzilla could return just the # of open bugs for an engineer.

Categories

(Bugzilla :: Query/Bug List, enhancement, P2)

enhancement

Tracking

()

VERIFIED DUPLICATE of bug 77764

People

(Reporter: ekrock, Assigned: endico)

References

()

Details

Attachments

(3 files)

What I basically want is a query result with all of the columns, including the bug number, turned off, so all you get is the "__ bugs found." line which normally appears at the bottom of the list. (If you do "Choose Columns" and uncheck all of the boxes, you still get a list of the bug numbers back.) You'll see at the URL that I'm creating a BugAThon tracking page which has multiple IFRAMEs, each pointing to a different query for a different engineer. What I'd like is to only display the "__ bugs found." line in each IFRAME. Not a high priority. Just an idea to put on this list. BTW, Bugzilla rocks--thank you!
This would be possible with bug #12282, general summary reports.
Status: NEW → ASSIGNED
Priority: P3 → P2
*** Bug 23499 has been marked as a duplicate of this bug. ***
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details, see my posting in netscape.public.mozilla.webtools, news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Status: ASSIGNED → NEW
and also 12282
Assignee: tara → cyeh
Status: NEW → ASSIGNED
Adding default QA contact to all open Webtools/Bugzilla bugs lacking one. Sorry for the spam.
QA Contact: matty
Target Milestone: --- → Future
Taking all of cyeh's Bugzilla bugs.
Assignee: Chris.Yeh → justdave
Status: ASSIGNED → NEW
Moving to new Bugzilla product ...
Assignee: justdave → endico
Component: Bugzilla → Query/Bug List
OS: Windows NT → All
Product: Webtools → Bugzilla
Hardware: PC → All
Version: other → unspecified
Myk, I think this is one of the things that should be done sooner rather than later. I have attached a bugcount.cgi script that takes the same parameters as buglist.cgi, but returns nothing but the total bug count. You can see it in action on http://bugzilla.mathweb.org/ I know that the code duplication with buglist.cgi should be avoided, but I think it's more important to have something working short-term for planning for Mozilla 1.0. This approach is not the prettiest solution, but it works and it's very flexible. Other bugs about bug counts: * Bug 77764: "Allowing to do bug counts from the query page" [has patch since 04/26/01] * Bug 92676: "Need summary table of bug counts" [has patch since 08/05/01] Currently, there is no way to do bug counting for arbitrary queries, except by grep'ing for the "... bugs found" line in the buglist.cgi output. Please change this. Please change this soon.
Keywords: patch, review
I think your patch is a better fit on bug 77764.
No, I think this is the correct place for my patch: Bug 77764 is about bugzilla-generated result pages, but this bug is about custom html pages with embedded bug counts (via IFRAMEs).
Target Milestone: Future → Bugzilla 2.16
Comment on attachment 48541 [details] bugcount.cgi, derived from buglist.cgi rev. 1.139 Note: the perl path in the first line needs to be changed to #!/usr/bonsaitools/bin/perl -w
Have a look at this page (probably the URL is only temporarily available): http://www.ags.uni-sb.de/~afranke/mozilla/bugcounts.html [to be viewed in Mozilla, the old 4.x doesn't support IFRAMEs] I think this is what ekrock had in mind when he reported this bug. You can click on the numbers to get the buglist. But still, this is not a good long-term solution because it puts a heavy load on bugzilla.
This is not bug 12282. Afranke: what this bug really means, IMO, is a checkbox on the Query page that says: "count only". This basically means turning SELECT into SELECT COUNT in the SQL, and means you can do big queries without waiting for ages and tying up the db. This should be a two-line change to add the checkbox, and another two lines to check for the value and modify the SQL. Gerv
This is really a dupe of 77764. If we fix that, Andreas' scripts (which, to be fair, are a bit hacky, and don't have the benefit of reducing Bugzilla load that 77764 might) won't be necessary. Gerv *** This bug has been marked as a duplicate of 77764 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
I filed bug 104025 'Need a "results-only" mode to embed buglist via an IFRAME' for the things that aren't covered by bug 77764.
clearing milestone for invalid/wontfix/worksforme/duplicate so they'll show up as untriaged if they get reopened.
Target Milestone: Bugzilla 2.16 → ---
Verified duplicate
Status: RESOLVED → VERIFIED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: