From 83e41348f5932ee4596c1f46177b547b86a652d9 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Sun, 23 Nov 2025 18:23:15 +0100 Subject: [PATCH] Preserved category filter between searches. --- djangoproject/templates/search_form.html | 1 + docs/templatetags/docs.py | 2 ++ docs/tests/test_views.py | 25 ++++++++++++++++++++++++ docs/views.py | 4 ++-- 4 files changed, 30 insertions(+), 2 deletions(-) diff --git a/djangoproject/templates/search_form.html b/djangoproject/templates/search_form.html index 65823c757a..eea6c3717f 100644 --- a/djangoproject/templates/search_form.html +++ b/djangoproject/templates/search_form.html @@ -3,6 +3,7 @@
{{ form.q }} +