cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23118] New: - SearchGenerator incorrectly counts previous-index
Date Thu, 11 Sep 2003 21:54:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23118>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23118

SearchGenerator incorrectly counts previous-index

           Summary: SearchGenerator incorrectly counts previous-index
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: tnowak-p@netventure.pl


/search:results/search:navigation/@search:previous-index
is incorrectly counted on ON LAST PAGE ONLY
(meaning: when has-next="false" AND has-prevoius="true")

example:

<navigation total-count="25" count-of-pages="9" has-next="false" has-
previous="true" next-index="25" previous-index="19">
  <navigation-page start-index="0"/> 
  <navigation-page start-index="3"/> 
  <navigation-page start-index="6"/> 
  <navigation-page start-index="9"/> 
  <navigation-page start-index="12"/> 
  <navigation-page start-index="15"/> 
  <navigation-page start-index="18"/> 
  <navigation-page start-index="21"/> 
  <navigation-page start-index="24"/> 
</navigation>

previous-index should be 21 here.

This is bug rather for sure.

Mime
View raw message