Closed Brindster closed 6 years ago
@Brindster I like this improvement! 👍
Can you also update the documentation?
At the moment the documentation includes an example for this scenario with an extension of the DbSelect
class. With your improvement this is no longer needed.
Can you replace the related text and code example with the usage of the factory?
Docs: https://docs.zendframework.com/zend-paginator/usage/#the-dbselect-adapter
That would be awesome!
Thanks, @Brindster; I have correctly identified this as a bugfix now, and scheduled it for a 2.8.1 release.
@weierophinney
If this is a bug, then we must also fix the AdapterPluginManager
and the factory for ArrayAdapter
:
The adapter includes never any items if it is retrieved by the manager.
@froschdesign Yes. Care to open some issues and mark them as help wanted?
Currently, the
DbSelectFactory
factory is unable to inject a count select into the constructor of theDbSelect
class. This pull request fixes this issue.