Grafana alters data link URL

We use a top-level dashboard that has links to many other dashboards for different user accounts. We pass the account’s CloudWatch data source in the var-datasource variable in each link. Starting with 11.5, (enterprise) Grafana is altering these URLs, and in some cases replacing the var-datasource with a numeric value.

For example, a typical link might be:

https://dashboard.um.<<our domain>>/d/qJyujoyVz/no-vpn-prod?orgId=1&refresh=30s&from=now-15m&to=now&var-datasource=afr

But the URL on the destination reads:

https://dashboard.um.<<our domain>>/d/qJyujoyVz/no-vpn-prod?orgId=1&refresh=30s&from=now-15m&to=now&var-datasource=000000027&timezone=browser&var-alb_prod=app%2FHTTPS-ALB-prod%2Fa9f8e5d2175e1890&var-host_prod=$__all&var-dbcluster_prod=afr-prod-um-aurora

A bunch of other variables have been added, and the datasource has been changed from “afr” to “000000027”. Hitting the back button and clicking the link again usually results in the correct datasource, but the other unwanted variables are still added.

The datasource variable is used in page titles, so when this fails, our users have no idea what account they are looking at.

What should display like this;

Instead reads:

Is there a setting to tell Grafana not to alter links?

Or am I in the same situation as this user:

However, I faced so many issues with version 11.5, such as data links only working after multiple mouse clicks, data not refreshing after a variable update, and client machines experiencing 100% CPU usage that I ended up downgrading to 10.4, where everything works as expected.