瀏覽代碼

join multivalue variables with ,

Sven Klemm 7 年之前
父節點
當前提交
6793fa5e54
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/datasource/postgres/postgres_query.ts

+ 1 - 1
public/app/plugins/datasource/postgres/postgres_query.ts

@@ -151,7 +151,7 @@ export default class PostgresQuery {
     }
 
     var escapedValues = _.map(value, kbn.regexEscape);
-    return '(' + escapedValues.join('|') + ')';
+    return '(' + escapedValues.join(',') + ')';
   }
 
   render(interpolate?) {