-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
[8.0] Add support for manual setting of filtered count (#1516) #1743
Conversation
src/QueryDataTable.php
Outdated
* | ||
* @return int | ||
*/ | ||
public function filteredCount() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should promote this function to the abstract class since this will also be used when using Collection?
The collection dataTable failed the tests. I think moving the function to the abstract will fix the tests. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Collection tests are failing as the filteredCount method should be available on all engines.
I thought that may be a problem. I'll make the changes. |
cdb0483
to
688d2b2
Compare
I've moved the function to the abstract class and did a bit of clean-up. Please run the tests again :) |
Released on v8.6.0. BTW, if you can spare some more time. Please also submit a PR for docs on how you used this feature at this repo. Thanks a lot! 🍻 |
Of course! I will submit documentation within the next couple of days. |
Fix #1516