Refactor case prior handling: update function to support case_number instead of case_id for improved clarity and maintainability

This commit is contained in:
Ross
2025-11-17 11:15:08 +00:00
parent 0f8bae8a14
commit 24558f92ce
2 changed files with 6 additions and 15 deletions
@@ -18,7 +18,7 @@
{% endif %}
{% if casedetail.case.previous_case %}
<a class="btn btn-outline-secondary" href='{% url "atlas:collection_case_priors" casedetail.collection.pk casedetail.case.pk %}' title="Manage priors">
<a class="btn btn-outline-secondary" href='{% url "atlas:collection_case_priors_legacy" casedetail.collection.pk casedetail.case.pk %}' title="Manage priors">
<i class="bi bi-link-45deg"></i>
</a>
{% endif %}