mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX SSF-53 Pass through the parameter $itemsPerPage instead of reassign the default value (15)
This commit is contained in:
parent
c4e04899b6
commit
de75798559
@ -88,7 +88,7 @@ class GridFieldConfig_Base extends GridFieldConfig {
|
||||
* @return GridFieldConfig_Base
|
||||
*/
|
||||
public static function create($itemsPerPage=15){
|
||||
return new GridFieldConfig_Base($itemsPerPage=15);
|
||||
return new GridFieldConfig_Base($itemsPerPage);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user