Commit 292ba337 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix error sorting

parent f9f9d406
# Changelog # Changelog
## next
- Fix error sorting
## 0.4.0a7 ## 0.4.0a7
- Fix PDF generation code flow - Fix PDF generation code flow
......
...@@ -457,7 +457,7 @@ def create_validata_ui_report(validata_core_report, schema_dict): ...@@ -457,7 +457,7 @@ def create_validata_ui_report(validata_core_report, schema_dict):
for err in errors: for err in errors:
if "#head" in err["tags"] or "#structure" in err["tags"]: if "#head" in err["tags"] or "#structure" in err["tags"]:
ui_report["table"]["errors"]["structure"].append(err) ui_report["table"]["errors"]["structure"].append(err)
elif "#body" in err["tags"]: elif "#body" in err["tags"] or "#content" in err["tags"]:
ui_report["table"]["errors"]["body"].append(err) ui_report["table"]["errors"]["body"].append(err)
# Group body errors by row id # Group body errors by row id
......
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