typo
This commit is contained in:
parent
0172a152d3
commit
ff4e32d769
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def buildCondition(k, op, v, user, exclude=False, owner=None):
|
||||||
else:
|
else:
|
||||||
q = Q(id=0)
|
q = Q(id=0)
|
||||||
return q
|
return q
|
||||||
elif key_config.fulltext:
|
elif key_config.get('fulltext'):
|
||||||
qs = models.Document.find_fulltext_ids(v)
|
qs = models.Document.find_fulltext_ids(v)
|
||||||
q = Q(id__in=qs)
|
q = Q(id__in=qs)
|
||||||
if exclude:
|
if exclude:
|
||||||
|
|
Loading…
Reference in a new issue