diff --git a/themes/blueprint/templates/search/home.phtml b/themes/blueprint/templates/search/home.phtml index eaf3e74d80a2c2bd4b3c9fef436c7ca274bde5c9..bef28c682f90a9cb2f387d1326a9939e9032fb1a 100644 --- a/themes/blueprint/templates/search/home.phtml +++ b/themes/blueprint/templates/search/home.phtml @@ -49,6 +49,16 @@ <ul class="span-5"> <? endif; ?> <? endforeach; ?> + <? /* Special case: collections */ ?> + <? elseif ($field == 'hierarchy_top_title'): ?> + <? $i = 0; foreach ($sortedList as $url => $value): ?> + <? if (++$i > 12): ?> + <li><a href="<?=$this->url('collections-home')?>"><strong><?=$this->transEsc("More options")?>...</strong></a></li> + <? break; ?> + <? else: ?> + <li><a href="<?=$this->url('collections-bytitle')?>?title=<?=urlencode($value)?>"><?=$this->escapeHtml($value)?></a></li> + <? endif; ?> + <? endforeach; ?> <? else: ?> <? $i = 0; foreach ($sortedList as $url => $value): ?> <? if (++$i > 12): ?>