Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -942,9 +942,13 @@ def _process_internal_conditions(condition_data):
"year_issued": row.year_issued,
"effective_document_id": row.effective_document_id,
"source_document": row.amendment_name if row.amendment_name
and row.condition_type == ConditionType.ADD else row.document_label
and row.condition_type == ConditionType.ADD else row.document_label,
"subconditions": []
}

for cond_id in conditions_map:
ConditionService._populate_subconditions(conditions_map, cond_id)

return ProjectDocumentConditionSchema().dump(
{
"project_name": condition_data[0].project_name,
Expand Down
Loading
Loading