Changes between Version 4 and Version 5 of 1.3/TracReports
- Timestamp:
- May 13, 2017, 6:09:19 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
1.3/TracReports
v4 v5 120 120 === Using Variables in a Query 121 121 122 The syntax for dynamic variables is simple, any upper case word beginning with '$'is considered a variable.122 The syntax for dynamic variables is simple, any upper case word beginning with `$` is considered a variable. 123 123 124 124 Example: … … 127 127 }}} 128 128 129 To assign a value to $PRIORITY when viewing the report, you must define it as an argument in the report URL, leaving out the leading '$': 129 The value of the dynamic variable can be assigned in the report preferences form. 130 131 To assign a value to `$PRIORITY` in the URL for a report, leave out the leading `$`: 130 132 {{{ 131 133 http://trac.edgewall.org/reports/14?PRIORITY=high 132 134 }}} 133 135 134 To use multiple variables, separate them with an '&':136 To use multiple variables, separate them with an `&`: 135 137 {{{ 136 138 http://trac.edgewall.org/reports/14?PRIORITY=high&SEVERITY=critical