Replies: 1 comment
-
@Darkyn any resolution to this outside of this discussion? I am seeing the same thing, getPageItems() of my custom cursor paginator being called twice per request |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have a paginator that overrides Paginator->getPageItems(), and I've noticed that it's being called twice on each request. If I look in Paginator.php I can see it's being called on line 114 and line 254. This results in the getPageItems method being called twice on my paginator class.
I'm just wondering if this is expected behavior or if I'm possibly doing something wrong. Ideally it would only ever be called once on each request, to get the items for the current page.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions