Custom Report
John Kristensen <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hello All,
I am trying to write a custom report which is essentially going to be
similar to a standard search using the index template to display the
items. The problem is that the query I want to run can't be done using a
normal filterspec (I want show something like all issues for users that
have more than one issue assigned to them[1])
From the little bit of digging though the code it seems as though
overriding the batch() method in roundup.cgi.templating.HTMLRequest to
return my own "hand-crafted" Batch would achieve what I am after.
I was wondering if anyone has tried to do something similar? Ideally I
would like to be able to create a new report Action that override the
default HTMLRequest class with my own custom one.
Anyone have any ideas?
SeeYa,
John.
[1] The SQL will be something like:
SELECT *
FROM _issue
WHERE _assignedto IN (
SELECT _assignedto
FROM _issue
GROUP BY _assignedto
HAVING COUNT(_assignedto) > 1
);
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar