From 969c5964a0485afff48c32db91f51a38dc6182b4 Mon Sep 17 00:00:00 2001 From: Alexander Purr <purr@ub.uni-leipzig.de> Date: Mon, 28 Nov 2022 11:09:02 +0100 Subject: [PATCH] refs #22651 [finc] template reconciliation * improve default search tools (on bottom of result list) * comes from de_105 (tested in finc) * show search facets instead of tags in sidebar of author-home --- local/config/vufind/searches.ini | 2 +- themes/finc/templates/search/results.phtml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/local/config/vufind/searches.ini b/local/config/vufind/searches.ini index fd329a5042b..179e1624d2e 100644 --- a/local/config/vufind/searches.ini +++ b/local/config/vufind/searches.ini @@ -469,7 +469,7 @@ Author[] = AuthorFacets ; default_side_recommend settings and only uses this section. [AuthorModuleRecommendations] ;top[] = TopFacets:ResultsTop -;side[] = SideFacets:Results:CheckboxFacets +side[] = SideFacets:Results:CheckboxFacets top[] = AuthorInfo side[] = "ExpandFacets:Author" diff --git a/themes/finc/templates/search/results.phtml b/themes/finc/templates/search/results.phtml index 992c735d1ee..13afdc03de5 100644 --- a/themes/finc/templates/search/results.phtml +++ b/themes/finc/templates/search/results.phtml @@ -173,12 +173,12 @@ <div class="searchtools hidden-print"> <strong><?=$this->transEsc('Search Tools')?>:</strong> <a href="<?=$this->results->getUrlQuery()->setViewParam('rss')?>"><i class="fa fa-bell" aria-hidden="true"></i> <?=$this->transEsc('Get RSS Feed')?></a> - — + <span class="hidden-xs hidden-sm">—</span> <a href="<?=$this->url('search-email')?>" class="mailSearch" data-lightbox id="mailSearch<?=$this->escapeHtmlAttr($this->results->getSearchId())?>"> <i class="fa fa-envelope" aria-hidden="true"></i> <?=$this->transEsc('Email this Search')?> </a> <?php if ($this->accountCapabilities()->getSavedSearchSetting() === 'enabled'): ?> - — + <span class="hidden-xs hidden-sm">—</span> <?php if (is_numeric($this->results->getSearchId())): ?> <?php if ($this->results->isSavedSearch()): ?> <a href="<?=$this->url('myresearch-savesearch')?>?delete=<?=urlencode($this->results->getSearchId())?>"><i class="fa fa-remove" aria-hidden="true"></i> <?=$this->transEsc('save_search_remove')?></a> -- GitLab