diff --git a/themes/bootstrap3/templates/search/reservessearch.phtml b/themes/bootstrap3/templates/search/reservessearch.phtml
index bb67670b2073283177fb8cf381e584ee038f8c26..f37ba484fbe13fd3f74a151543fe378bcf82b07e 100644
--- a/themes/bootstrap3/templates/search/reservessearch.phtml
+++ b/themes/bootstrap3/templates/search/reservessearch.phtml
@@ -26,15 +26,17 @@
           <strong><?=$this->localizedNumber($this->results->getStartRecord())?></strong> - <strong><?=$this->localizedNumber($this->results->getEndRecord())?></strong>
           <?=$this->transEsc('of')?> <strong><?=$this->localizedNumber($recordTotal)?></strong>
           <?=$this->transEsc('for search')?>: <strong>'<?=$this->escapeHtml($reservesLookfor)?>'</strong>,
-        <? endif; ?>
-        <? if ($qtime = $this->results->getQuerySpeed()): ?>
-          <?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?>
+          <? if ($qtime = $this->results->getQuerySpeed()): ?>
+            <?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?>
+          <? endif; ?>
         <? endif; ?>
       </div>
 
-      <div class="pull-right flip">
-        <?=$this->render('search/controls/sort.phtml')?>
-      </div>
+      <? if ($recordTotal > 0): ?>
+        <div class="pull-right flip">
+          <?=$this->render('search/controls/sort.phtml')?>
+        </div>
+      <? endif; ?>
     </div>
     <? if ($recordTotal < 1): ?>
       <p class="error"><?=$this->transEsc('nohit_prefix')?> - <strong><?=$this->escapeHtml($reservesLookfor)?></strong> - <?=$this->transEsc('nohit_suffix')?></p>