Skip to content

Commit

Permalink
Add missing breadcrumbs to courts list and advanced search page
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Jan 6, 2025
1 parent d7ea425 commit db2c039
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/views/advanced_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ def get_context_data(self, **kwargs):
context["tribunals"] = courts.get_grouped_selectable_tribunals()
context["feedback_survey_type"] = "advanced_search"
context["form"] = AdvancedSearchForm()
context["breadcrumbs"] = [
{"text": self.page_title},
]

return context
4 changes: 4 additions & 0 deletions config/views/courts.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def get_context_data(self, **kwargs):
context["courts"] = courts.get_grouped_selectable_courts()
context["tribunals"] = courts.get_grouped_selectable_tribunals()
context["feedback_survey_type"] = "courts_and_tribunals"
context["breadcrumbs"] = [
{"text": self.page_title},
]

return context


Expand Down

0 comments on commit db2c039

Please sign in to comment.