Skip to content
Snippets Groups Projects
Commit f458cf94 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Always show submission filters. Remove the Filter button in these cases.

parent 3ccbb0ff
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
{% block content %}
{% block table %}
{% include "funds/includes/table_filter_and_search.html" with filter_form=filter_form search_term=search_term use_search=True filter_action=filter_action use_batch_actions=True %}
{% include "funds/includes/table_filter_and_search.html" with filter_form=filter_form search_term=search_term use_search=True filter_action=filter_action use_batch_actions=True filter_classes="filters-open" %}
{% render_table table %}
{% endblock %}
......
......@@ -47,7 +47,9 @@
{# Right #}
<div class="actions-bar__inner actions-bar__inner--right">
<button class="button button--filters js-toggle-filters">Filters</button>
{% if filter_classes != 'filters-open' %}
<button class="button button--filters js-toggle-filters">Filters</button>
{% endif %}
{% if use_search|default:False %}
<form action="{{ search_action }}" method="get" role="search" class="form form--search-desktop">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment