Просмотр исходного кода

join multivalue variables with ,

Sven Klemm 7 лет назад
Родитель
Сommit
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?) {