Bug 1010658

Summary: [Usability] unintuitive behavior of pagination
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jakub Cechacek <jcechace>
Component: Web ConsoleAssignee: Heiko Braun <hbraun>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Cechacek <jcechace>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: medium    
Version: 6.2.0CC: hpehl, jkudrnac
Target Milestone: ER7   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:20:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1021418    

Description Jakub Cechacek 2013-09-22 10:16:19 UTC
Pagination in console should always offset the same number of entries, last page included. 

Let's assume we have 25 entries, 7 entries per page. The current behavior will list pages in this manner:

page 1: entry 1-7  
page 2: entry 8-14
page 3: entry 15-21 
page 4: entry 19-25 

now when going back

page 4: entry 25-19
page 3: entry 18-12
page 2: entry 11-5
page 1: entry 7 - 1

The last page should contain only entries 22-25. This behavior is confusing and consequently you will get different last page when using "skip to last" button (as this one will correctly display entries 22-25) and when listing through pages.

Comment 1 Jakub Cechacek 2013-10-31 14:05:43 UTC
Verified 6.2.0.ER7