-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: afterFetch method in the model does not work when using model paginator #15074
Labels
5.0
The issues we want to solve in the 5.0 release
breaks bc
Functionality that breaks Backwards Compatibility
enhancement
Enhancement to the framework
Comments
Hi Maulana, I am having the same issue. I was wondering how did you fix this issue? what did you end up doing? |
5 tasks
ruudboon
added
discussion
Request for comments and discussion
enhancement
Enhancement to the framework
and removed
bug
A bug report
status: unverified
Unverified
labels
Jul 10, 2020
Don't think this is a bug but could be an improvement. We need to think how not to break BC |
zsilbi
added
6.0
The issues we want to solve in the 6.0 release
breaks bc
Functionality that breaks Backwards Compatibility
transfer
and removed
discussion
Request for comments and discussion
labels
Oct 4, 2020
We will revisit this later. |
Jeckerson
added
5.0
The issues we want to solve in the 5.0 release
and removed
6.0
The issues we want to solve in the 6.0 release
transfer
labels
Mar 28, 2021
Jeckerson
added a commit
that referenced
this issue
May 3, 2021
Jeckerson
added a commit
that referenced
this issue
May 3, 2021
5 tasks
niden
added a commit
that referenced
this issue
May 3, 2021
#15074 - Change return from `array` to `ResultsetInterface` in Model Paginator
Resolved in #15455 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
5.0
The issues we want to solve in the 5.0 release
breaks bc
Functionality that breaks Backwards Compatibility
enhancement
Enhancement to the framework
I made a model that using the afterFetch method inside, it's work when directly fetch data from the model. Here is my code
And this my pagination script
The result should be like
But the result is
I can use another method like an array_map to generate a result items, but I think it will better if the result in pagination is a result object.
The text was updated successfully, but these errors were encountered: