Allow to use names with dot in template queries, fixes #254

This commit is contained in:
Alexander Zobnin
2017-06-08 16:28:29 +03:00
parent 201c969e13
commit f04e19db69
8 changed files with 84 additions and 20 deletions

View File

@@ -375,7 +375,7 @@ var ZabbixAPIDatasource = function () {
var parts = [];
// Split query. Query structure: group.host.app.item
_lodash2.default.each(query.split('.'), function (part) {
_lodash2.default.each(utils.splitTemplateQuery(query), function (part) {
part = _this5.replaceTemplateVars(part, {});
// Replace wildcard to regex