File tree 1 file changed +3
-1
lines changed
readthedocs/templates/search 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 27
27
< div class ="navigable ">
28
28
< ul >
29
29
< h5 > {% trans 'Object Type' %}</ h5 >
30
+ {# Hidden until we make the UX nicer here. #}
30
31
{# < li class ="{% if type == 'all' %}active{% endif %} "> < a href ="?{% url_replace request 'type' 'all' %} "> {% trans 'All' %}</ a > </ li > #}
31
32
{% if not project %}
32
33
< li class ="{% if type == 'project' %}active{% endif %} "> < a href ="?{% url_replace request 'type' 'project' %} "> {% trans 'Projects' %}</ a > </ li >
@@ -142,9 +143,10 @@ <h2>{% trans 'Search' %}</h2>
142
143
< input type ="text " name ="q " value ="{{ query|default_if_none: "" }}" id="id_elastic_search">
143
144
{% if type %} < input type ="hidden " name ="type " value ="{{ type }} "> {% endif %}
144
145
{% if project %} < input type ="hidden " name ="project " value ="{{ project }} "> {% endif %}
145
- {% if taxonomy %} < input type ="hidden " name ="taxonomy " value ="{{ taxonomy }} "> {% endif %}
146
146
{% if version %} < input type ="hidden " name ="version " value ="{{ version }} "> {% endif %}
147
147
{% if language %} < input type ="hidden " name ="language " value ="{{ language }} "> {% endif %}
148
+ {% if doc_type %} < input type ="hidden " name ="doc_type " value ="{{ doc_type }} "> {% endif %}
149
+ {% if index %} < input type ="hidden " name ="index " value ="{{ index }} "> {% endif %}
148
150
</ div >
149
151
< div class ="submit-input-wrapper ">
150
152
{% comment %}Translators: This is about starting a search{% endcomment %}
You can’t perform that action at this time.
0 commit comments