Skip to content

Commit

Permalink
Add index to PublishDate - also see #559
Browse files Browse the repository at this point in the history
  • Loading branch information
stevie-mayhew committed Nov 13, 2018
1 parent d256039 commit 7b0166e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Model/BlogPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ class BlogPost extends Page
'Summary' => 'HTMLText'
];

/**
* @var array
*/
private static $indexes = [
'PublishDate' => true,
];

/**
* @var array
*/
Expand Down

0 comments on commit 7b0166e

Please sign in to comment.