mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Additional default named argument for pagination (Ticket #5535)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5569 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
780fe16c09
commit
b33ff0330f
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ class Router extends Object {
|
|||
$_this->connect('/:controller/:action/*');
|
||||
|
||||
if (empty($_this->__namedArgs)) {
|
||||
$_this->connectNamed(array('page', 'fields', 'order', 'limit', 'recursive', 'sort', 'direction'));
|
||||
$_this->connectNamed(array('page', 'fields', 'order', 'limit', 'recursive', 'sort', 'direction', 'step'));
|
||||
}
|
||||
|
||||
$_this->__defaultsMapped = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue