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.
I use that in reports that are date based etc, having one report and links for each month, week etc. 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 -~----------~----~----~----~------~----~------~--~---
