mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #560 from stevie-mayhew/feature/indexes
Add index to PublishDate
This commit is contained in:
commit
5a355f2cf0
@ -64,6 +64,13 @@ class BlogPost extends Page
|
||||
'Summary' => 'HTMLText'
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private static $indexes = [
|
||||
'PublishDate' => true,
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user