fixing regex displaying as undefined in the pill (#5266)

This commit is contained in:
Gabe Lyons 2018-06-21 18:01:31 -07:00 committed by Maxime Beauchemin
parent 73295f25a3
commit 2f274328ed

View File

@ -20,6 +20,7 @@ const OPERATORS_TO_SQL = {
in: 'in', in: 'in',
'not in': 'not in', 'not in': 'not in',
LIKE: 'like', LIKE: 'like',
regex: 'regex',
}; };
function translateToSql(adhocMetric, { useSimple } = {}) { function translateToSql(adhocMetric, { useSimple } = {}) {