mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-14 10:13:13 +00:00
Add first publish/updated dates to search index
This commit is contained in:
parent
5e8df2624e
commit
f45ec08a2c
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