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
{{ message }}
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
The text was updated successfully, but these errors were encountered:
ravenreaving
changed the title
I tried to var_dump $this->Prg->commonProcess() because the paramaters/conditions is not being passed in paginate query. this is the result.
$this->Buildings->parseCriteria($this->Prg->parsedParams()) Returning Array 0 or Empty.
Aug 9, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using cakephp 2.8
Model Code
class Buildings extends AppModel {
Controller
Method
$this->Prg->commonProcess();
$this->Paginator->settings['conditions'] = $this->Buildings->parseCriteria($this->Prg->parsedParams());
// var_dump($this->Buildings->parseCriteria($this->Prg->parsedParams()));
$this->set('buildings', $this->Paginator->paginate());
$this->set(compact('ownerType'));
The text was updated successfully, but these errors were encountered: