Commit e3236976 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '217-category-selector-does-not-work' into 'develop'

Resolve "Category selector does not work"

Closes #217

See merge request t3o/!230
parents a2fd7f7b 4f016d6d
Pipeline #5520 passed with stages
in 3 minutes and 47 seconds
......@@ -60,30 +60,15 @@
<f:section name="Filter">
<f:if condition="{settings.templateLayout} == '2'">
<f:form class="event-filter">
<f:form class="event-filter">
< class="custom-select" name="event-filter-neu" additionalAttributes="{onchange: 'location = this.value;'}">
<f:for each="{categories}" as="category">
<option value="{category.uid}">
<f:if condition="{overwriteDemand.category} == {category.uid}">
<f:link.action action="list" controller="Event" arguments="{overwriteDemand:{category: category}}" class="active">
<f:link.action action="list" controller="Event" arguments="{overwriteDemand:{category: category}}">
<option value="{f:uri.action(action: 'List', controller: 'Event', arguments: '{overwriteDemand:{category: category}}')}" {f:if(condition: '{overwriteDemand.category} == {category.uid}', then: 'class="active" selected="selected"')}>
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