Skip to content

Conversation

pabloelcolombiano
Copy link
Contributor

@pabloelcolombiano pabloelcolombiano commented Mar 10, 2021

The name of the model is not settable and taken as the name of the controller performing the pagination.

This is a problem when performing the pagination on a controller that does not follow the CakePHP conventions, e.g. ArticlesIndexController.

The present contribution proposes to have the name of the model settable and tests accordingly. The documentation has been updated accordingly.

@bcrowe bcrowe merged commit 66a6843 into bcrowe:master Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants