0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Remove redundant show_parent=True parameter to usage_results.html and search_results.html

They both ultimately call _list_explore.html with show_parent=1 in all cases
This commit is contained in:
Matt Westcott 2015-06-25 12:49:02 +01:00
parent 8d55d0581f
commit c51f17cd89
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
{% include "wagtailadmin/shared/header.html" with title=pages_str subtitle=page_class.get_verbose_name icon="doc-empty-inverse" %}
<div id="page-results">
{% include "wagtailadmin/pages/usage_results.html" with show_parent="True" %}
{% include "wagtailadmin/pages/usage_results.html" %}
</div>
{% endblock %}

View File

@ -17,6 +17,6 @@
{% include "wagtailadmin/shared/header.html" with title=search_str search_url="wagtailadmin_pages_search" icon="search" %}
<div id="page-results">
{% include "wagtailadmin/pages/search_results.html" with show_parent="True" %}
{% include "wagtailadmin/pages/search_results.html" %}
</div>
{% endblock %}