Open Bug 1267803 Opened 10 years ago Updated 10 years ago

Redirect queries to the report page

Categories

(Bugzilla :: Reporting/Charting, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: altlist, Unassigned)

Details

It would help if a tabular/graphical links were added at the bottom of the query page, such that one can reuse the query to generate a report. I'm pretty sure one can do this as an extension, but nicer if this was builtin.
Turns out this is fairly straightforward. For now, I've just added this as a template hook in hook/list/list-links.html.tmpl [% report_query = urlquerypart.replace('([?&])(query_format=[^&;]+)','$1') %] <a href="query.cgi?[% report_query FILTER html %]&amp;format=report-table"> <img title="Report Table" alt="Report Table" src="images/report-table.png" height="24"> </a> </a> <a href="query.cgi?[% report_query FILTER html %]&amp;format=report-graph"> <img title="Report Graph" alt="Report Graph" src="images/report-graph.png" height="24"> </a>
You need to log in before you can comment on or make changes to this bug.