From 7b73fd425b236b1fa489656c9e0b4ae4983cc752 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Thu, 23 Jan 2014 12:13:53 -0500
Subject: [PATCH] View choice icons are now clickable.

---
 themes/bootstrap/templates/search/controls/view.phtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/bootstrap/templates/search/controls/view.phtml b/themes/bootstrap/templates/search/controls/view.phtml
index c88748e0ac8..ab1e6380cfd 100644
--- a/themes/bootstrap/templates/search/controls/view.phtml
+++ b/themes/bootstrap/templates/search/controls/view.phtml
@@ -1,10 +1,10 @@
 <div class="pull-right">
 <? $viewList = $this->params->getViewList(); if (count($viewList) > 1): ?>
   <? foreach ($viewList as $viewType => $viewData): ?>
-    <img src="<?=$this->imageLink('view_'.$viewType.'.png') ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"/>
     <? if (!$viewData['selected']): ?>
       <a href="<?=$this->results->getUrlQuery()->setViewParam($viewType)?>" title="<?=$this->transEsc('Switch view to')?> <?=$this->transEsc($viewData['desc'])?>" >
     <? endif; ?>
+    <img src="<?=$this->imageLink('view_'.$viewType.'.png') ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"/>
     <?=ucfirst($this->transEsc($viewType)) ?> <?=$this->transEsc('view') ?><? if (!$viewData['selected']): ?></a><? endif; ?>&nbsp;
   <? endforeach; ?>
 <? endif; ?>
-- 
GitLab