Remove unnecessary search_terms_report_results.html template

pull/11202/head
Sage Abdullah 2024-11-28 13:19:06 +00:00 zatwierdzone przez Matt Westcott
rodzic 76925488ad
commit 217751e747
3 zmienionych plików z 1 dodań i 3 usunięć
wagtail/contrib/search_promotions
templates/wagtailsearchpromotions

Wyświetl plik

@ -1 +0,0 @@
{% extends "wagtailadmin/reports/base_report_results.html" %}

Wyświetl plik

@ -998,7 +998,7 @@ class TestQueryHitsReportView(BaseReportViewTestCase):
self.assertTemplateUsed(response, "wagtailadmin/reports/base_report.html")
self.assertTemplateUsed(
response,
"wagtailsearchpromotions/search_terms_report_results.html",
"wagtailadmin/reports/base_report_results.html",
)
self.assertBreadcrumbs(
[{"url": "", "label": "Search terms"}],

Wyświetl plik

@ -21,7 +21,6 @@ class SearchTermsReportFilterSet(WagtailFilterSet):
class SearchTermsReportView(ReportView):
results_template_name = "wagtailsearchpromotions/search_terms_report_results.html"
page_title = _("Search terms")
header_icon = "search"
is_searchable = True