Skip to content
Snippets Groups Projects
Commit ed2f6f44 authored by Robert Lange's avatar Robert Lange
Browse files

refs #21610 [finc] vf6: adapt facet labels

* remove call of activateAllFacets in templates
parent 0d0213c9
No related merge requests found
<!-- finc: search - advanced - ranges --> <!-- finc: search - advanced - ranges -->
<?php if (isset($this->ranges) && !empty($this->ranges)): ?> <?php if (isset($this->ranges) && !empty($this->ranges)): ?>
<?php $params = $this->searchParams($this->searchClassId); $params->activateAllFacets(); ?> <?php $params = $this->searchParams($this->searchClassId); ?>
<?php foreach ($this->ranges as $current): $escField = $this->escapeHtmlAttr($current['field']); ?> <?php foreach ($this->ranges as $current): $escField = $this->escapeHtmlAttr($current['field']); ?>
<?php $extraInputAttribs = ($current['type'] == 'date') ? 'maxlength="4" ' : ''; ?> <?php $extraInputAttribs = ($current['type'] == 'date') ? 'maxlength="4" ' : ''; ?>
<?php /* #18306: alignment left to result - GG */ ?> <?php /* #18306: alignment left to result - GG */ ?>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</td> </td>
<td data-title="<?= $this->transEsc('history_limits') ?>:"> <td data-title="<?= $this->transEsc('history_limits') ?>:">
<?php $info->getParams()->activateAllFacets(); <?php
foreach ($info->getParams()->getFilterList(true) as $field => $filters): ?> foreach ($info->getParams()->getFilterList(true) as $field => $filters): ?>
<?php foreach ($filters as $i => $filter): ?> <?php foreach ($filters as $i => $filter): ?>
<?php if ($filter['operator'] == 'NOT') echo $this->transEsc('NOT') . ' '; <?php if ($filter['operator'] == 'NOT') echo $this->transEsc('NOT') . ' ';
......
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