Bug #11007
PaginateController uses wrong offset
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Widgets
Target version:
-
Start date:
2010-11-22
Due date:
% Done:
80%
Estimated time:
Has patch:
Description
The PaginateController doesn't work with an offset set in the original query.
Example:
7 news records should be displayed with an offset of 2 (explanation could be that the 1st 2 records are rendered with a different plugin). itemsPerPage = 3
1st page should show:
item 4
item 5
item 6
2nd page should show
item 7
-------------------------
currently output is:
1st page:
item 4
item 5
item 6
2nd page:
item 4
item 5
item 6
3rd page:
item 7
the possible offset of the query is not checked.
Files