cleanup field names
This commit is contained in:
parent
7745ec5c7f
commit
60e3f658a1
3 changed files with 17 additions and 15 deletions
|
|
@ -37,7 +37,9 @@ def parseCondition(condition):
|
|||
key_type = models.site_config['keys'].get(k, {'type':'string'}).get('type')
|
||||
key_type = {
|
||||
'title': 'string',
|
||||
'person': 'string'
|
||||
'person': 'string',
|
||||
'text': 'string',
|
||||
'year': 'string',
|
||||
}.get(key_type, key_type)
|
||||
|
||||
if key_type == "string":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue