Merge pull request #1702 from kaedroho/search-index-fields

Add first publish/updated dates to search index
This commit is contained in:
Matt Westcott 2015-10-13 00:17:28 +01:00
commit dd4fd57023

View file

@ -316,6 +316,8 @@ class Page(six.with_metaclass(PageBase, MP_Node, ClusterableModel, index.Indexed
index.FilterField('depth'),
index.FilterField('locked'),
index.FilterField('show_in_menus'),
index.FilterField('first_published_at'),
index.FilterField('latest_revision_created_at'),
)
# Do not allow plain Page instances to be created through the Wagtail admin