Make organisations natively sortable

This commit is contained in:
Chris Hill-Scott
2021-11-11 14:35:55 +00:00
parent 18dfc44899
commit 0c2b586e40
6 changed files with 45 additions and 21 deletions

View File

@@ -14,7 +14,7 @@
<nav class="browse-list">
<ul>
{% for org in organisations %}
{% for org in organisations|sort %}
<li class="browse-list-item">
<a href="{{ url_for('main.organisation_dashboard', org_id=org.id) }}" class="govuk-link govuk-link--no-visited-state">{{ org.name }}</a>
{% if not org.active %}