Commit 2b0fadd6 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix template filter in queue

parent 85ed5998
......@@ -214,7 +214,7 @@ class QueueController extends AbstractController {
$this->getFromSession('filterTemplate') !== $filters['filterTemplate']
)
) {
$this->writeToSession('filterTemplate', $_POST['filterTemplate']);
$this->writeToSession('filterTemplate', $filters['filterTemplate']);
}
[$filters['filterExtension'], $filters['filterTemplate']] = explode(
......
......@@ -8,7 +8,7 @@
</div>
<div class="form-group">
<label for="filterTemplate"><f:translate key="backend.filter.template" /></label>
<select class="form-control" property="filterTemplate" id="filterTemplate" name="filterTemplate">
<f:form.select class="form-control" property="filterTemplate" id="filterTemplate">
<f:for each="{templatesFilter}" as="extension" key="extensionKey">
<f:if condition="{extensionKey}">
<f:then>
......@@ -25,7 +25,7 @@
</f:else>
</f:if>
</f:for>
</select>
</f:form.select>
</div>
<div class="form-group">
......
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