mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-20 13:01:56 +00:00
Merge pull request #1702 from kaedroho/search-index-fields
Add first publish/updated dates to search index
This commit is contained in:
commit
dd4fd57023
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue