Author: david
Date: Wed Nov  2 14:15:23 2011
New Revision: 10247

Log:
Correct result counter.  Fixes issue 2107

Modified:
   trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php

Modified: 
trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php    
Wed Nov  2 13:54:39 2011        (r10246)
+++ trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php    
Wed Nov  2 14:15:23 2011        (r10247)
@@ -49,7 +49,7 @@
   <div class="result-count">
     <?php echo __('Showing %1% to %2% of %3% results', array(
       '%1%' => $startrow,
-      '%2%' => $startrow += count($items),
-      '%3%' => $resultCount + 1)) ?>
+      '%2%' => ($startrow += count($items)) - 1,
+      '%3%' => $resultCount)) ?>
   </div>
 <?php endforeach; ?>

-- 
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.com/group/qubit-commits?hl=en.

Reply via email to