Edgewall Software

Ticket #7293 (closed enhancement: fixed)

Opened 6 months ago

Last modified 2 months ago

support for dynamic variables in the report_view page

Reported by: andrei2102@… Owned by: rblank
Priority: normal Milestone: 0.12
Component: report system Version:
Severity: normal Keywords: dynamicvar patch
Cc: scratcher@…

Description

After the discussion on this trac-dev thread I made a patch that displays a list of filters for every variable in a query.

The problem this patch resolves is encountered when a sql report has a variable defined and no values is passed in the URL. The patch allows the user to enter values for this variables.

Attachments

dynamic_variables.diff (4.7 KB) - added by andrei2102@… 6 months ago.
7293-report-argument-editor-r7493.patch (5.8 KB) - added by rblank 3 months ago.
Patch against 0.11-stable adding editable fields for report arguments

Change History

Changed 6 months ago by andrei2102@…

Changed 3 months ago by rblank

Patch against 0.11-stable adding editable fields for report arguments

Changed 3 months ago by rblank

  • keywords patch added
  • owner changed from mgood to rblank

The patch above is a rework of the first patch attached (which was already very good):

  • The layout of the argument fieldset was adapted to be as close to the custom query as possible.
  • A warning lists missing arguments (if any).
  • The folding JavaScript is not called if there are no arguments.

Fields are considered missing if they don't appear in the request at all. Empty arguments are considered present.

Comments?

Changed 3 months ago by anonymous

  • cc scratcher@… added

Changed 2 months ago by rblank

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

Patch applied in [7555], with a few fixes to report test cases, and an additional test case for missing arguments.

Add/Change #7293 (support for dynamic variables in the report_view page)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from rblank. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.