-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables: Add support for aliasIDs to datasource variables (Fixes issue with Postgres datasource variables) #78170
Conversation
Hello @torkelo!
Please, if the current pull request addresses a bug fix, label it with the |
|
||
import { getPanelIdForVizPanel } from './utils'; | ||
|
||
export class NextPanelIdGenerator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@torkelo - Not related to this PR I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dprokop oops, no that was a test from yesterday :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested that this fixes the issue, thanks!
There are still a few places where aliasIDs are not taken into account. I expect some more in community/customer plugins.
Scenes DataSourceVariable did not have this problem as it's using DataSourceSrv.getList with a pluginId filter.