mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Adding extra URL parameters for pagination
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3594 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
cb29921144
commit
8319e0ff30
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ class Controller extends Object {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$options = am($this->params, $this->passedArgs);
|
$options = am($this->params, $this->params['url'], $this->passedArgs);
|
||||||
if (isset($this->pagination[$object->name])) {
|
if (isset($this->pagination[$object->name])) {
|
||||||
$defaults = $this->paginate[$object->name];
|
$defaults = $this->paginate[$object->name];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue