Add db index on PublishDate (#559)

* Add db index on PublishDate
This commit is contained in:
Stig Lindqvist 2018-11-14 09:31:06 +13:00 committed by Stevie Mayhew
parent 0189bcbbb9
commit 7352665216

View File

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