Fix query parameter template variable (#50023)

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.
This commit is contained in:
kiwi-oss 2022-06-21 15:41:41 +02:00 committed by GitHub
parent 746f664a75
commit 1b091454ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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`.