Skip to content

Commit

Permalink
Fixing an issue with stripping filter values (#3869)
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas authored and Grace Guo committed Nov 15, 2017
1 parent a6ba841 commit aee8438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/connectors/sqla/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def get_sqla_query( # sqla
# For backwards compatibility and edge cases
# where a column data type might have changed
if isinstance(v, basestring):
v = v.strip(""").strip(""")
v = v.strip("'").strip('"')
if col_obj.is_num:
v = utils.string_to_num(v)

Expand Down

0 comments on commit aee8438

Please sign in to comment.