Alexander Shorin created COUCHDB-2193:
-----------------------------------------

             Summary: Invalid pagination when page size equals limit
                 Key: COUCHDB-2193
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2193
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Alexander Shorin


1. Navigate to any view page which has more than 100 or 10000 results
2. Set view limit and page size as 20. Notice that Fauxton reports you "Showing 
1 - 20"
3. Scroll down to the page bottom - notice that you're able to more on the 
second page...
4. ...where you'll see "Showing 0 documents. Create your first document." 
message
5. Click on "Previous" button
6. Notice current report: "Showing 100 - 119"

If you have 10000+ results for this view repeat steps 3-5 - you'll get new 
report: "Showing 10000 - 10019"

Also notice, that now "Previous" button on the page bottom is active, but 
nothing happens if you click it.

Fauxton @ 
[adf9ae2|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=adf9ae25c6be1c654fededfc72350b48abfda1de]




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to