Skip to content
Snippets Groups Projects
Commit 205575c2 authored by Gregor Gawol's avatar Gregor Gawol Committed by Dorian Merz
Browse files

refs #17072 [finc] fixed link delete search history

parent ea62570f
No related merge requests found
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
<?php endif; ?> <?php endif; ?>
<?php if (!empty($this->unsaved)): ?> <?php if (!empty($this->unsaved)): ?>
<?=$this->context()->renderInContext('search/history-table.phtml', ['showSaved' => false]);?> <?=$this->context()->renderInContext('search/history-table.phtml', ['showSaved' => false]);?>
<a href="?purge=true"><i class="fa fa-remove" aria-hidden="true"></i> <?=$this->transEsc("history_purge")?></a> <?php /* refs #17072: added url - GG */ ?>
<a href="<?= $this->url('search-history') ?>?purge=true"><i class="fa fa-remove" aria-hidden="true"></i> <?=$this->transEsc("history_purge")?></a>
<?php else: ?> <?php else: ?>
<?=$this->transEsc("history_no_searches")?> <?=$this->transEsc("history_no_searches")?>
<?php endif; ?> <?php endif; ?>
......
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