mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix for InfluxDB temp dashboards, seperate series name prefix so they do not show up in dashboard search, #633
This commit is contained in:
parent
082d2c739e
commit
44f0c749d5
@ -259,7 +259,7 @@ function (angular, _, kbn, InfluxSeries) {
|
||||
};
|
||||
|
||||
InfluxDatasource.prototype._saveDashboardTemp = function(data, title) {
|
||||
data[0].name = 'grafana.dashboard_temp_' + btoa(title);
|
||||
data[0].name = 'grafana.temp_dashboard_' + btoa(title);
|
||||
data[0].columns.push('expires');
|
||||
data[0].points[0].push(this._getTempDashboardExpiresDate());
|
||||
|
||||
@ -296,7 +296,7 @@ function (angular, _, kbn, InfluxSeries) {
|
||||
var queryString = 'select dashboard from "grafana.dashboard_' + btoa(id) + '"';
|
||||
|
||||
if (isTemp) {
|
||||
queryString = 'select dashboard from "grafana.dashboard_temp_' + btoa(id) + '"';
|
||||
queryString = 'select dashboard from "grafana.temp_dashboard_' + btoa(id) + '"';
|
||||
}
|
||||
|
||||
return this._seriesQuery(queryString).then(function(results) {
|
||||
|
Loading…
Reference in New Issue
Block a user