bugfix
This commit is contained in:
parent
64583c56dc
commit
bb7292d484
@ -133,8 +133,10 @@ ns['sort'] = '{{relation.outter_field}}_text'
|
||||
sql = '''{{sql}}'''
|
||||
{% if not relation %}
|
||||
filterjson = params_kw.get('data_filter')
|
||||
fields_str="""{{json.dumps(fields, indent=4, ensure_ascii=False)}}"""
|
||||
ori_fields = json.loads(fields_str)
|
||||
if not filterjson:
|
||||
fields = [ f['name'] for f in {{json.dumps(fields, indent=4, ensure_ascii=False)}} ]
|
||||
fields = [ f['name'] for f in ori_fields}} ]
|
||||
filterjson = default_filterjson(fields, ns)
|
||||
filterdic = ns.copy()
|
||||
filterdic['filterstr'] = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user