Skip to content

Commit

Permalink
[Scorecards] If advanced filters are active then we display them by d…
Browse files Browse the repository at this point in the history
…efault
  • Loading branch information
lucascumsille committed Nov 7, 2024
1 parent 351311d commit a3e497f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scoring/templates/scoring/includes/main-filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
{% endif %}
<a class="btn btn-sm btn-outline-primary {% if authority_type == 'northern-ireland' %} active{% endif %}" href="{% include 'scoring/includes/scoring_url.html' with slug='northern-ireland' %}">Northern Ireland</a>

<a type="button" class="ms-2" data-bs-toggle="collapse" data-bs-target="#advancedFilter">
<a type="button" class="ms-2" data-bs-toggle="collapse" data-bs-target="#advancedFilter" {% if filter_descs %}aria-expanded="true"{% endif %}>
Filter by region, population and others...
</a>
</fieldset>

<div class="collapse mt-3 pt-3 border-top" id="advancedFilter">
<div class="collapse mt-3 pt-3 border-top {% if filter_descs %}show{% endif %}" id="advancedFilter">
{% include 'scoring/includes/advanced-filter.html' %}
</div>
</form>

0 comments on commit a3e497f

Please sign in to comment.