From ff4e32d769eeb51502ef3003ea80b3c57d80610c Mon Sep 17 00:00:00 2001 From: j Date: Sun, 1 Dec 2019 15:28:04 +0100 Subject: [PATCH] typo --- pandora/document/managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/document/managers.py b/pandora/document/managers.py index 7f0453908..8bbb6c1f0 100644 --- a/pandora/document/managers.py +++ b/pandora/document/managers.py @@ -133,7 +133,7 @@ def buildCondition(k, op, v, user, exclude=False, owner=None): else: q = Q(id=0) return q - elif key_config.fulltext: + elif key_config.get('fulltext'): qs = models.Document.find_fulltext_ids(v) q = Q(id__in=qs) if exclude: