BenoitTalbot / bungeni-portal

Automatically exported from code.google.com/p/bungeni-portal
0 stars 0 forks source link

Pagination on Exist Portal #794

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Serialize content from the relational DB with 5 members of parliament
2. Access members area in Exist interface (ancient Portal)

What is the expected output? What do you see instead?
Full listing of members of parliament by page.
With 5 members the pagination becomes troublesome, showing 5 in the number of 
members but only listing 4. With 6 members finnaly the pagination starts to 
work accordingly, showing 4 members on the first page and 2 on the second page. 
When 10 members exist, 4 are shown on the first page, 5 on the second and 1 on 
the third. It should list 10 members only in 2 pages with 5 members each.

Please use labels and text to provide additional information.
I solved it by incrementing the offset of the displayed collection by 1.

Original issue reported on code.google.com by toolzi...@gmail.com on 23 Jan 2014 at 10:40