Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pagination-plugin and fetch options on count fix #1914
Make the pagination plugin fully compatible with others bookshelf plugins
In my project, I use the plugin bookshelf-paranoia to use the soft delete feature. I have a problem with pagination.
If I want to show soft deleted items using pagination, the
After resarch, it appears the count part don't use passed fetch options except the transacting parameter.
I propose to use others fetch options on count part omit all default fetch params (withRelated, ...) to avoid problems