-
Bug
-
Resolution: Fixed
-
Major
-
2.0.4
-
None
-
-
Empty show more show less
The STKPages does not calculate the offset right.
Reproduce:
- Add in /demo-project/news-and-events/news-overview three more news pages by copy the existing.
- Configure the news overview components on the /demo-project/news-and-events/news-overview with max results 5.
-> fist pager should display 5 elements, the second one.
Result is, that the first displays two, and the second one.
I think the problem is within the offset calculation in:
info.magnolia.module.templatingkit.util.STKPager.getOffset()
But don't have time to dig into.
Any Components extending the info.magnolia.module.templatingkit.paragraphs.AbstractItemListModel will have this problem:
stkNewsOverview, stkEventsOverview
Acceptance criteria
- caused by
-
MGNLSTK-744 Paging broken due to wrong offset calculation
- Closed