diff --git a/public/app/features/templating/templateSrv.js b/public/app/features/templating/templateSrv.js index ece69302196..0aa0990896c 100644 --- a/public/app/features/templating/templateSrv.js +++ b/public/app/features/templating/templateSrv.js @@ -69,6 +69,9 @@ function (angular, _) { return '(' + quotedValues.join(' OR ') + ')'; } case "pipe": { + if (typeof value === 'string') { + return value; + } return value.join('|'); } default: {