On Thu, May 29, 2008 at 3:01 PM, Erik Andersson <[EMAIL PROTECTED]> wrote: > Hi > > Easy way is to provide the link with the parameter in the report. I.e. when > you click the report url in the report list you will receive an error > message. Then press the url provided in the description of the report. > Thanks. That works in such an easy way:)
> I use that in reports that are date based etc, having one report and links > for each month, week etc. > I think we still need a more generic way to view a report that the dynamic values for user select from trac itself, not by trac administrators. I have looked over report.py and other documents, but can't find any interfaces to manipulate report, any suggestion? BTW, according to trac wiki pages: "The report module is being phased out in its current form." So, should we make effort to report? > Good luck. > > Cheers / Erik > > On Thu, May 29, 2008 at 6:06 AM, Richard Liao <[EMAIL PROTECTED]> > wrote: >> >> Hi, >> >> To view a report for dynamic variables, for example: >> SELECT id AS ticket,summary FROM ticket WHERE priority=$PRIORITY >> >> We must define it as an argument in the report URL. >> http://trac.edgewall.org/reports/14?PRIORITY=high >> >> But ordinary users will not modify report URL as above. >> Is there an easy way to view a report with dynamic variables for them? >> >> If not, I think we should provide a plugin to do that: >> 1. Listen all report requests, search the report query string that >> contains dynamic variables. >> 2. If find, return a page that let user set the dynamic variables >> instead. >> 3. After user set all required dynamic variables, send report URL >> with these values. >> >> Is that feasible? >> >> Regards. >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
