Преглед изворни кода

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?) {