mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #308 from silverstripe/fix-postsperpagemigration
FIX Explicitly set the PostsPerPage during migration
This commit is contained in:
commit
adbbf1ab00
@ -50,6 +50,7 @@ class BlogHolder extends BlogTree implements MigratableObject {
|
||||
if($this->ClassName === 'BlogHolder') {
|
||||
$this->ClassName = 'Blog';
|
||||
$this->RecordClassName = 'Blog';
|
||||
$this->PostsPerPage = 10;
|
||||
$this->write();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user