mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Add index to PublishDate - also see #559
This commit is contained in:
parent
d256039b1f
commit
7b0166e6be
@ -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