Skip to content

Commit

Permalink
Merge pull request #560 from stevie-mayhew/feature/indexes
Browse files Browse the repository at this point in the history
Add index to PublishDate
  • Loading branch information
robbieaverill authored Nov 15, 2018
2 parents d256039 + 7b0166e commit 5a355f2
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 5a355f2

Please sign in to comment.