From f7a126e0ff765913217661eeb895a937a976fa3e Mon Sep 17 00:00:00 2001 From: Philip Kimmey Date: Thu, 18 Jul 2013 09:28:02 -0700 Subject: [PATCH] Revert "[elasticsearch] Fix boolean filtering logic" This reverts commit 880657ebdc849afd74cfd16bfdccb11db271555f. --- haystack/backends/elasticsearch_backend.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/haystack/backends/elasticsearch_backend.py b/haystack/backends/elasticsearch_backend.py index 674e5604c..98158bb58 100644 --- a/haystack/backends/elasticsearch_backend.py +++ b/haystack/backends/elasticsearch_backend.py @@ -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):