Add index to PublishDate - also see #559

This commit is contained in:
Stevie Mayhew 2018-11-14 09:35:43 +13:00
parent d256039b1f
commit 7b0166e6be
1 changed files with 7 additions and 0 deletions

View File

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