Why Paginator setItems() simply trim to first chunk? #39086
Unanswered
alexgheorghiu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was reading the code for Paginator's setItems($items) and saw:
and wonder why would you pass whole collection only to trim to first chunk of data?
My feeling is that we should have something like
I means get the chunk that is for current page not for the first one.
Beta Was this translation helpful? Give feedback.
All reactions