From 024a3195121c7c6e13bda9552f29c12bc60c5647 Mon Sep 17 00:00:00 2001 From: ubhatnagar Date: Wed, 23 Sep 2015 11:22:57 +0530 Subject: [PATCH] Implemented Opentsdb MultiSelect Templating. --- public/app/features/templating/partials/editor.html | 2 +- public/app/features/templating/templateSrv.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/app/features/templating/partials/editor.html b/public/app/features/templating/partials/editor.html index a1dab0a6c36..98a966f5c42 100644 --- a/public/app/features/templating/partials/editor.html +++ b/public/app/features/templating/partials/editor.html @@ -217,7 +217,7 @@ Multi format
  • - +
  • diff --git a/public/app/features/templating/templateSrv.js b/public/app/features/templating/templateSrv.js index 0880df1a0c4..48aa4edde85 100644 --- a/public/app/features/templating/templateSrv.js +++ b/public/app/features/templating/templateSrv.js @@ -46,6 +46,9 @@ function (angular, _) { case "lucene": { return '(' + value.join(' OR ') + ')'; } + case "pipe": { + return value.join('|'); + } default: { return '{' + value.join(',') + '}'; }