Skip to content

Commit

Permalink
cove_rdls/process.py: Alter group_data_list_by key
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed (ODSC) committed Sep 1, 2023
1 parent d0e1143 commit f2f343d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cove_rdls/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def process_get_state(self, process_data: dict) -> dict:
"validation_errors_count": len(validation_errors),
"validation_errors": group_data_list_by(
# validation_errors, lambda i: i["validator"] + str(i['path_ending']) + i["message"]
validation_errors, lambda i: i["validator"] + str(i['path_ending']) + i["message"]
validation_errors, lambda i: f"{i['validator']}_{i['validator_value']}_{str(i['path_ending'])}"
)
}
# context["validation_errors_grouped"] = group_validation_errors(context["validation_errors"])
Expand Down
2 changes: 1 addition & 1 deletion cove_rdls/templates/cove_rdls/validation_table.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load i18n %}
{% load cove_tags %}

<p>{{ validation_errors }}</p>
<!-- <p>{{ validation_errors }}</p> -->

<table class="table table-condensed">
<thead>
Expand Down

0 comments on commit f2f343d

Please sign in to comment.