mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-12 20:21:19 +08:00
Changed default pagination size to 20.
This commit is contained in:
@@ -98,10 +98,10 @@ class Pagination extends Object
|
||||
*/
|
||||
public $validatePage = true;
|
||||
/**
|
||||
* @var integer number of items on each page. Defaults to 10.
|
||||
* @var integer number of items on each page. Defaults to 20.
|
||||
* If it is less than 1, it means the page size is infinite, and thus a single page contains all items.
|
||||
*/
|
||||
public $pageSize = 10;
|
||||
public $pageSize = 20;
|
||||
/**
|
||||
* @var integer total number of items.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user