From 85f371e928477fe167f8cd46e3b90b88b59a81e8 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 22 Oct 2014 13:46:47 -0400 Subject: [PATCH] Link column headers to more results in combined search. --- themes/blueprint/templates/combined/results-list.phtml | 4 +++- themes/bootstrap3/templates/combined/results-list.phtml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/themes/blueprint/templates/combined/results-list.phtml b/themes/blueprint/templates/combined/results-list.phtml index 96011c43914..ba1c5ce58d1 100644 --- a/themes/blueprint/templates/combined/results-list.phtml +++ b/themes/blueprint/templates/combined/results-list.phtml @@ -15,8 +15,10 @@ <div style="float: right;"> <a href="<?=$moreUrl?>"><?=$this->transEsc('More options')?></a> </div> + <h2><a href="<?=$moreUrl?>"><?=$this->transEsc($currentSearch['label'])?></a></h2> +<? else: ?> + <h2><?=$this->transEsc($currentSearch['label'])?></h2> <? endif; ?> -<h2><?=$this->transEsc($currentSearch['label'])?></h2> <? if (isset($currentSearch['sublabel'])): ?> <p><i><?=$this->transEsc($currentSearch['sublabel'])?></i></p> <? endif; ?> diff --git a/themes/bootstrap3/templates/combined/results-list.phtml b/themes/bootstrap3/templates/combined/results-list.phtml index 6a0dee49038..05deeb5935c 100644 --- a/themes/bootstrap3/templates/combined/results-list.phtml +++ b/themes/bootstrap3/templates/combined/results-list.phtml @@ -15,8 +15,10 @@ <div class="pull-right"> <a href="<?=$moreUrl?>" class="btn btn-link"><i class="fa fa-gears"></i> <?=$this->transEsc('More options')?></a> </div> + <h2><a href="<?=$moreUrl?>"><?=$this->transEsc($currentSearch['label'])?></a></h2> +<? else: ?> + <h2><?=$this->transEsc($currentSearch['label'])?></h2> <? endif; ?> -<h2><?=$this->transEsc($currentSearch['label'])?></h2> <? if (isset($currentSearch['sublabel'])): ?> <p><i><?=$this->transEsc($currentSearch['sublabel'])?></i></p> <? endif; ?> -- GitLab