fix has_fulltext_key check
This commit is contained in:
parent
a0b3a144c6
commit
5efd7eadc6
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class FulltextMixin:
|
|||
return self.data.get('text', '')
|
||||
return ''
|
||||
|
||||
def has_fulltext_key():
|
||||
def has_fulltext_key(self):
|
||||
return bool([k for k in settings.CONFIG['documentKeys'] if k.get('fulltext')])
|
||||
|
||||
def delete_fulltext(self):
|
||||
|
|
Loading…
Reference in a new issue