소스 검색

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);
     var escapedValues = _.map(value, kbn.regexEscape);
-    return '(' + escapedValues.join('|') + ')';
+    return '(' + escapedValues.join(',') + ')';
   }
   }
 
 
   render(interpolate?) {
   render(interpolate?) {