Merge pull request #560 from stevie-mayhew/feature/indexes

Add index to PublishDate
This commit is contained in:
Robbie Averill 2018-11-15 23:01:32 +02:00 committed by GitHub
commit 5a355f2cf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,13 @@ class BlogPost extends Page
'Summary' => 'HTMLText'
];
/**
* @var array
*/
private static $indexes = [
'PublishDate' => true,
];
/**
* @var array
*/