Commit 57e17e9e authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

wip - correctly display deliberations_invalide

parent 3db64f36
......@@ -445,9 +445,8 @@ def create_validata_ui_report(validata_core_report, schema_dict):
current_row_id = row_id
rows.append({'row_id': current_row_id, 'errors': {}})
column_id = err.get('column-number')
column_id = err.get('fieldPosition')
if column_id is not None:
del err['column-number']
rows[-1]['errors'][column_id] = err
rows[-1]['errors']['row'] = err
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment