jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r544098 - /jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/search.jsp
Date Mon, 04 Jun 2007 09:23:11 GMT
Author: mreutegg
Date: Mon Jun  4 02:23:09 2007
New Revision: 544098

URL: http://svn.apache.org/viewvc?view=rev&rev=544098
Log:
JCR-946: Create a sample search page
- previous link is off by one

Modified:
    jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/search.jsp

Modified: jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/search.jsp
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/search.jsp?view=diff&rev=544098&r1=544097&r2=544098
==============================================================================
--- jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/search.jsp (original)
+++ jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/search.jsp Mon Jun  4 02:23:09 2007
@@ -246,7 +246,7 @@
         <td valign=bottom nowrap><font size=-1>Result&nbsp;Page:&nbsp;</font>
         <%
         if (currentPageIndex != ((Long) indexes.get(0)).longValue()) {
-            %><td nowrap align=right class=b><a href=search.jsp?q=<%= q %>&start=<%=
currentPageIndex * 10 %>><div id=np></div>Previous</a><%
+            %><td nowrap align=right class=b><a href=search.jsp?q=<%= q %>&start=<%=
(currentPageIndex - 1) * 10 %>><div id=np></div>Previous</a><%
         } else {
             %><td nowrap ><div id=nf></div><%
         }



Mime
View raw message