Author: sevein
Date: Wed Sep 16 07:35:21 2009
New Revision: 3334
Log:
Fix small mistake with pager when there is only one item.
Modified:
trunk/apps/qubit/modules/default/templates/_pager.php
Modified: trunk/apps/qubit/modules/default/templates/_pager.php
==============================================================================
--- trunk/apps/qubit/modules/default/templates/_pager.php Tue Sep 15
22:21:06 2009 (r3333)
+++ trunk/apps/qubit/modules/default/templates/_pager.php Wed Sep 16
07:35:21 2009 (r3334)
@@ -21,7 +21,7 @@
<?php endif; ?>
<div class="result-count">
- <?php if (count($pager->allHits) > 1): ?>
+ <?php if (count($pager->allHits) > 0): ?>
<?php echo __('displaying %1% to %2% of %3% results', array('%1%' =>
$pager->getFirstHit(), '%2%' => $pager->getLastHit(), '%3%' =>
count($pager->allHits))) ?>
<?php else: ?>
<?php echo __('No results found'); ?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---