Skip to content

Commit

Permalink
Revert "[elasticsearch] Fix boolean filtering logic"
Browse files Browse the repository at this point in the history
This reverts commit 880657e.
  • Loading branch information
philipkimmey committed Jul 18, 2013
1 parent 880657e commit f7a126e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions haystack/backends/elasticsearch_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,6 @@ def _from_python(self, value):
return unicode(value, errors='replace') # TODO: Be stricter.
elif isinstance(value, set):
return list(value)
elif isinstance(value, bool):
return str(value).lower()
return value

def _to_python(self, value):
Expand Down

0 comments on commit f7a126e

Please sign in to comment.