You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves #41 json_encode($this->getAdapter()) would always return an empty object for \Zend\Paginator\Adapter\DbSelect adapters (i.e. {}). By performing print_r on the adapter we can get the current state which, in the case of DbSelect, includes an sql object containing table name, join details, where clause, etc.
This change will prevent collisions between adapters that do not have any public properties and/or values.
Resolves #41
json_encode($this->getAdapter())
would always return an empty object for\Zend\Paginator\Adapter\DbSelect
adapters (i.e.{}
). By performingprint_r
on the adapter we can get the current state which, in the case ofDbSelect
, includes an sql object containing table name, join details, where clause, etc.This change will prevent collisions between adapters that do not have any public properties and/or values.
Originally posted by @richard-parnaby-king at zendframework/zend-paginator#42
The text was updated successfully, but these errors were encountered: