Closed Bug 150196 Opened 23 years ago Closed 23 years ago

Enhancement: reports.cgi should show Bug Summary as part of "Show Links for Bugs"

Categories

(Bugzilla :: Reporting/Charting, defect)

2.14.1
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: brian, Assigned: gerv)

References

(Blocks 1 open bug, )

Details

This is a requested enhancement. In the reports.cgi file, instead of just displaying links to bugs, the link should also show the summary of the bug, just as it is done in the rest of the system (the standard bug view showing dependencies, for example). The original code in reports.cgi that displays the link is: foreach my $st (@status) { my @l; foreach (sort { $a <=> $b } @{$bugs_summary{$who}{$st}}) { if ($FORM{'links'}) { push @l, "<a href=\"show_bug.cgiid=$_\">$_</a>\n";$_); } else { push @l, $_; } } Replace the line that creates the simple link to the bug number: push @l, "<a href=\"show_bug.cgiid=$_\">$_</a>\n";$_); with this line: push @l, GetBugLink($_, $_); using the GetBugLink function from globals.pl
Blocks: 115796
I've considered filing this bug earlier too. The problem I'm thinking about (and the reason I haven't filed) is that this feature or at least the mentioned implementation of it will make the page extremely slow and also increase the HTML size quite a lot. I think I can live with the latter, but the first problem may get really hard with 1000+ bug report pages.
I don't think that the performance hit is that large. If this caused a table scan on a very large database, that would be a problem, but it seems that the table should be indexed by bug id. We are currently running bugzilla on a linux 233mhz pentium machine, and the reports page loads very fast. We have a couple thousand bugs in the database. Where I see a performance hit is on custom reports to show dependencies for all bugs in a component. Then, the difference between a simple link to the bug id and a GetBugLink procedure call was noticible and significant. I would suggest that if you were worried about performance, you could add a checkbox like the "Links to Bugs" switch that would allow you to choose whether you wanted to run the report with the GetBugLink call enabled. I can look into the code for that, if you like.
This page is going away, to be replaced by one which displays totals for each engineer, with the total being a link to the buglist. So this enhancement request would no longer apply. Gerv
... and that has happened. So this doesn't apply any more. Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.