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
765b315fe7
commit
8ae3614335
@ -69,6 +69,13 @@ class BlogPost extends Page
|
||||
'Summary' => 'HTMLText'
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private static $indexes = [
|
||||
'PublishDate' => true,
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user