diff --git a/code/model/BlogPost.php b/code/model/BlogPost.php index 2a5305c..20bb2c3 100644 --- a/code/model/BlogPost.php +++ b/code/model/BlogPost.php @@ -32,6 +32,13 @@ class BlogPost extends Page 'AuthorNames' => 'Varchar(1024)', 'Summary' => 'HTMLText', ); + + /** + * @var array + */ + private static $indexes = array( + 'PublishDate' => true, + ); /** * @var array