Add index to PublishDate - also see #559

This commit is contained in:
Stevie Mayhew 2018-11-14 09:35:43 +13:00 committed by Robbie Averill
parent 765b315fe7
commit 8ae3614335

View File

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