Closed gelicia closed 2 months ago
Thank you very much for the detailed report. I'll take a look at this 👌🏻
The support for this should be added via this PR: https://github.com/fr-ser/grafana-sqlite-datasource/pull/133.
You can manually install v3.5.0 of the plugin right now to check it.
After a while (a couple of weeks usually) the plugin is also updated on the regular Grafana release channels
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug In Grafana, users can set up query variables to build variable lists for filtering their dashboards. To support a key/value structure to these lists, there is the option of using
__text
and__value
(ref) as aliases so one value will be displayed and one will be used as the filter.This datasource automatically throws an error whenever more than one field is returned when building this list (src) which prevents this functionality from working.
To Reproduce Steps to reproduce the behavior:
SELECT id AS __value, login AS __text FROM user
Versions (please complete the following information):