Fix query parameter template variable (#50023) (#51174)

As documented under [Advanced variable format options – Query parameters](https://grafana.com/docs/grafana/latest/variables/advanced-variable-format-options/#query-parameters), the option is `queryparam`, not `queryparams`.

I have verified in Grafana 8.5.3 that the former works while the latter doesn't.

(cherry picked from commit 1b091454ec)

Co-authored-by: kiwi-oss <71145773+kiwi-oss@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)andkiwi-oss authored and GitHub committed 2022-06-21 15:50:06 +02:00
1 parent 8a6ef771b0
commit 59bfaf1069
1 file changed
+1 -1
+1 -1
View File
@@ -57,6 +57,6 @@ Value-specific variables are available under `__value` namespace:
When linking to another dashboard that uses template variables, select variable values for whoever clicks the link.
`${myvar:queryparams}` - where `myvar` is a name of the template variable that matches one in the current dashboard that you want to use.
`${myvar:queryparam}` - where `myvar` is a name of the template variable that matches one in the current dashboard that you want to use.
If you want to add all of the current dashboard's variables to the URL, then use `__all_variables`.