STKPager: getOffset()
---------------------
Key: MGNLSTK-749
URL: http://jira.magnolia-cms.com/browse/MGNLSTK-749
Project: Magnolia Standard Templating Kit
Issue Type: Bug
Affects Versions: 1.4.2
Reporter: Simone Miterangelis
Assignee: Philipp Bärfuss
Priority: Major
The calculation of offset is wrong
int offset = ((getCurrentPage()) * maxResultsPerPage) -1;
instead of
int offset = ((getCurrentPage() - 1) * maxResultsPerPage);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------