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

@@ -483,7 +483,7 @@ System.register(['lodash', 'app/core/utils/datemath', './utils', './migrations',
var parts = [];
// Split query. Query structure: group.host.app.item
_.each(query.split('.'), function (part) {
_.each(utils.splitTemplateQuery(query), function (part) {
part = _this5.replaceTemplateVars(part, {});
// Replace wildcard to regex