Skip to content
Snippets Groups Projects
Commit 8cddd41f authored by Demian Katz's avatar Demian Katz
Browse files

Fix problems with reserves empty results.

parent 2df18499
No related merge requests found
...@@ -26,15 +26,17 @@ ...@@ -26,15 +26,17 @@
<strong><?=$this->localizedNumber($this->results->getStartRecord())?></strong> - <strong><?=$this->localizedNumber($this->results->getEndRecord())?></strong> <strong><?=$this->localizedNumber($this->results->getStartRecord())?></strong> - <strong><?=$this->localizedNumber($this->results->getEndRecord())?></strong>
<?=$this->transEsc('of')?> <strong><?=$this->localizedNumber($recordTotal)?></strong> <?=$this->transEsc('of')?> <strong><?=$this->localizedNumber($recordTotal)?></strong>
<?=$this->transEsc('for search')?>: <strong>'<?=$this->escapeHtml($reservesLookfor)?>'</strong>, <?=$this->transEsc('for search')?>: <strong>'<?=$this->escapeHtml($reservesLookfor)?>'</strong>,
<? endif; ?> <? if ($qtime = $this->results->getQuerySpeed()): ?>
<? if ($qtime = $this->results->getQuerySpeed()): ?> <?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?>
<?=$this->transEsc('query time')?>: <?=$this->localizedNumber($qtime, 2).$this->transEsc('seconds_abbrev')?> <? endif; ?>
<? endif; ?> <? endif; ?>
</div> </div>
<div class="pull-right flip"> <? if ($recordTotal > 0): ?>
<?=$this->render('search/controls/sort.phtml')?> <div class="pull-right flip">
</div> <?=$this->render('search/controls/sort.phtml')?>
</div>
<? endif; ?>
</div> </div>
<? if ($recordTotal < 1): ?> <? if ($recordTotal < 1): ?>
<p class="error"><?=$this->transEsc('nohit_prefix')?> - <strong><?=$this->escapeHtml($reservesLookfor)?></strong> - <?=$this->transEsc('nohit_suffix')?></p> <p class="error"><?=$this->transEsc('nohit_prefix')?> - <strong><?=$this->escapeHtml($reservesLookfor)?></strong> - <?=$this->transEsc('nohit_suffix')?></p>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment