From 4f7f94e561fddd88a36ea4ca20aef529cd2c5695 Mon Sep 17 00:00:00 2001 From: MazOneTwoOne <76905544+MazOneTwoOne@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:37:37 +0000 Subject: [PATCH] - update name for query parameter --- fala/apps/adviser/views.py | 2 +- fala/templates/adviser/results.html | 2 +- fala/templates/adviser/single_category_search.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fala/apps/adviser/views.py b/fala/apps/adviser/views.py index 512227a4..c3f3138b 100644 --- a/fala/apps/adviser/views.py +++ b/fala/apps/adviser/views.py @@ -168,7 +168,7 @@ def get_queryset(self): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) - context["single_category_search_redirect"] = self.request.GET.get("single_category_search_redirect", False) + context["tailored_results"] = self.request.GET.get("tailored_results", False) context.update(self.state.get_context_data()) return context diff --git a/fala/templates/adviser/results.html b/fala/templates/adviser/results.html index cbef11a7..48fdf42a 100644 --- a/fala/templates/adviser/results.html +++ b/fala/templates/adviser/results.html @@ -27,7 +27,7 @@
You can contact any legal adviser on the list but you might need to contact a few to find one near you that can help. Those based further away may be able to help by telephone.
These advisers are contracted by the government and regulated by the Solicitors Regulation Authority.
{% endif %} - {% if not single_category_search_redirect %} + {% if not tailored_results %}