Fixed query param in dashboard search for grafana datasource
This commit is contained in:
@@ -63,7 +63,7 @@ function (angular, _, kbn) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
GrafanaDatasource.prototype.searchDashboards = function(query) {
|
GrafanaDatasource.prototype.searchDashboards = function(query) {
|
||||||
return backendSrv.get('/api/search/', { params: { q: query } })
|
return backendSrv.get('/api/search/', { q: query } )
|
||||||
.then(function(data) {
|
.then(function(data) {
|
||||||
var hits = { dashboards: [], tags: [] };
|
var hits = { dashboards: [], tags: [] };
|
||||||
hits.dashboards = _.map(data, function(item) {
|
hits.dashboards = _.map(data, function(item) {
|
||||||
|
|||||||
Reference in New Issue
Block a user