From 9d1406cce886bb50fdf6c80bcd50bb31c9b812fc Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Thu, 17 Jul 2014 13:32:13 -0400 Subject: [PATCH] Search home browse list fix. --- themes/bootstrap3/templates/search/home.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap3/templates/search/home.phtml b/themes/bootstrap3/templates/search/home.phtml index a23698ea04f..2fb0d21316c 100644 --- a/themes/bootstrap3/templates/search/home.phtml +++ b/themes/bootstrap3/templates/search/home.phtml @@ -39,7 +39,7 @@ <div class="<?=$field=='callnumber-first' ? 'col-sm-6' : 'col-sm-3' ?>"> <p class="lead"><?=$this->transEsc('home_browse') . ' ' . $this->transEsc($details['label'])?></p> <div class="row"> - <ul class="list-unstyled<? if ($field == "callnumber-first"): ?> col-sm-6<?endif?>"> + <ul class="list-unstyled <?=$field == "callnumber-first" ? 'col-sm-6' : 'col-sm-12' ?>"> <? /* Special case: two columns for LC call numbers... */ ?> <? if ($field == "callnumber-first"): ?> <? $i = 0; foreach ($sortedList as $url => $value): ?> -- GitLab