forked from 0x2620/pandora
fix key_config
This commit is contained in:
parent
ff4e32d769
commit
697fee8c60
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def buildCondition(k, op, v, user, exclude=False, owner=None):
|
|||
|
||||
key_type = get_key_type(k)
|
||||
|
||||
key_config = (utils.get_by_id(settings.CONFIG['documentKeys'], k) or {'type': 'string'}).get('type')
|
||||
key_config = (utils.get_by_id(settings.CONFIG['documentKeys'], k) or {'type': 'string'})
|
||||
|
||||
facet_keys = models.Document.facet_keys
|
||||
if k == 'id':
|
||||
|
|
Loading…
Reference in a new issue