Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv2734

Modified Files:
        page.jspx 
Log Message:
on last page sometimes the 'to' was not quite ok


See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates


Index: page.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/page.jspx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- page.jspx   8 Jul 2008 11:41:53 -0000       1.17
+++ page.jspx   2 Sep 2008 15:58:54 -0000       1.18
@@ -9,7 +9,7 @@
       Presents a table with one page of query results. Plus paging to other 
pages (in tfoot).
       Used in ajax-calls, but can also be directly included with mm:include 
(for initial results).
       @todo Searching only happens in actual mmbase queries now. How about 
lucene queries?
-      @version $Id: page.jspx,v 1.17 2008/07/08 11:41:53 michiel Exp $
+      @version $Id: page.jspx,v 1.18 2008/09/02 15:58:54 michiel Exp $
   -->
   <jsp:output omit-xml-declaration="true" />
   <mm:import externid="id" required="true" />
@@ -44,7 +44,7 @@
           <c:when test="${size gt 0}">
             <fmt:message key="searchresults" var="summary">
               <fmt:param value="&lt;span class='offset'&gt;${size > 0 ? offset 
+ 1 : 0}&lt;/span&gt;" />
-              <fmt:param value="&lt;span class='last'&gt;${pagesize > size ? 
size  : offset + pagesize}&lt;/span&gt;" />
+              <fmt:param value="&lt;span class='last'&gt;${offset + pagesize > 
size ? size  : offset + pagesize}&lt;/span&gt;" />
               <fmt:param value="&lt;span class='size'&gt;${size}&lt;/span&gt;" 
/>
               <fmt:param>"${empty search ? '' : search}"</fmt:param>
             </fmt:message>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to