Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
292ba337
Commit
292ba337
authored
Jan 08, 2021
by
Pierre Dittgen
Browse files
Fix error sorting
parent
f9f9d406
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
292ba337
# Changelog
## next
-
Fix error sorting
## 0.4.0a7
-
Fix PDF generation code flow
...
...
validata_ui/views.py
View file @
292ba337
...
...
@@ -457,7 +457,7 @@ def create_validata_ui_report(validata_core_report, schema_dict):
for
err
in
errors
:
if
"#head"
in
err
[
"tags"
]
or
"#structure"
in
err
[
"tags"
]:
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
)
# Group body errors by row id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment