From ffe5a1e350b042dab1cad523d3cdd3ac9328550d Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 6 May 2020 15:58:42 -0500 Subject: [PATCH] Search: remove unused taxonomy field --- readthedocs/search/views.py | 2 -- readthedocs/templates/projects/project_dashboard_base.html | 3 --- readthedocs/templates/search/elastic_search.html | 1 - 3 files changed, 6 deletions(-) diff --git a/readthedocs/search/views.py b/readthedocs/search/views.py index 94a63c43bee..ba04dfa20d1 100644 --- a/readthedocs/search/views.py +++ b/readthedocs/search/views.py @@ -26,7 +26,6 @@ 'type', 'project', 'version', - 'taxonomy', 'language', 'role_name', 'index', @@ -54,7 +53,6 @@ def elastic_search(request, project_slug=None): type=request_type or request.GET.get('type', 'project'), project=project_slug or request.GET.get('project'), version=request.GET.get('version', LATEST), - taxonomy=request.GET.get('taxonomy'), language=request.GET.get('language'), role_name=request.GET.get('role_name'), index=request.GET.get('index'), diff --git a/readthedocs/templates/projects/project_dashboard_base.html b/readthedocs/templates/projects/project_dashboard_base.html index 3e9c5079b39..72679ea34cc 100644 --- a/readthedocs/templates/projects/project_dashboard_base.html +++ b/readthedocs/templates/projects/project_dashboard_base.html @@ -112,9 +112,6 @@

{% trans "Projects" %}

{% if type %} {% endif %} - {% if taxonomy %} - - {% endif %} diff --git a/readthedocs/templates/search/elastic_search.html b/readthedocs/templates/search/elastic_search.html index 1a2848730c8..ac2345ff736 100644 --- a/readthedocs/templates/search/elastic_search.html +++ b/readthedocs/templates/search/elastic_search.html @@ -132,7 +132,6 @@

{% trans 'Search' %}

{% if type %} {% endif %} {% if project %} {% endif %} - {% if taxonomy %} {% endif %} {% if version %} {% endif %} {% if language %} {% endif %} {% if role_name %} {% endif %}