You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/06/22 01:01:34 UTC

[incubator-superset] branch master updated: fixing regex displaying as undefined in the pill (#5266)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f27432  fixing regex displaying as undefined in the pill (#5266)
2f27432 is described below

commit 2f274328ed05f4104d63cce6433a4053d105ba00
Author: Gabe Lyons <ga...@airbnb.com>
AuthorDate: Thu Jun 21 18:01:31 2018 -0700

    fixing regex displaying as undefined in the pill (#5266)
---
 superset/assets/src/explore/AdhocFilter.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/assets/src/explore/AdhocFilter.js b/superset/assets/src/explore/AdhocFilter.js
index 7f1bdd0..dfaef55 100644
--- a/superset/assets/src/explore/AdhocFilter.js
+++ b/superset/assets/src/explore/AdhocFilter.js
@@ -20,6 +20,7 @@ const OPERATORS_TO_SQL = {
   in: 'in',
   'not in': 'not in',
   LIKE: 'like',
+  regex: 'regex',
 };
 
 function translateToSql(adhocMetric, { useSimple } = {}) {