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
1 changed files with 7 additions and 0 deletions

View File

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