dont show search-icon/exclude specific non-searchable fields from overviews

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-10-16 13:13:26 +02:00
parent 21954505b2
commit 64142d2158
6 changed files with 16 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
{% block actions %}
{% if listing.is_search and listing.self_overview is defined and listing.self_overview is iterable %}
{% set actions_tmp = actions_links %}
{% set actions_tmp = actions_links|default([]) %}
{% set actions_links = {'href': linker(listing.self_overview), 'icon': 'fa-solid fa-reply','label': lng('panel.backtooverview')} %}
{% set actions_links = {actions_links}|merge(actions_tmp) %}
{% endif %}