Commit e67d9410 authored by Michael Apfelthaler's avatar Michael Apfelthaler

Fact Filter OrderBy

parent 4b0c55e9
......@@ -10,7 +10,7 @@
</h1>
<form class="fact-filters wm-nav-tag__list">
{% set allFilterEnabled = true %}
{% for thema in craft.entries.section('themen') %}
{% for thema in craft.entries.section('themen').orderBy('title') %}
{% if (category == thema.slug) or (category|t == thema.slug) %}
<button id="{{thema.slug}}" type="submit" class="wm-nav-tag__link" name="category" value="{{thema.slug}}"
disabled>{{thema.title}}</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment