Make last_published_at filterable

pull/3881/merge
Mikalai Radchuk 2017-09-28 12:19:50 +01:00 zatwierdzone przez Matt Westcott
rodzic ce0e88c3ae
commit ddb0665f79
3 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ Changelog
* Breadcrumb navigation now uses globe icon to indicate tree root, rather than home icon (Matt Westcott)
* Updated React to 15.6.2 due to relicensing (Janneke Janssen)
* User search in the Wagtail admin UI now works across multiple fields (Will Giddens)
* `Page.last_published_at` is now a filterable field for search (Mikalai Radchuk)
* Fix: "Open Link in New Tab" on a right arrow in page explorer should open page list (Emily Horsman)
* Fix: Using `order_by_relevance=False` when searching with PostgreSQL now works (Mitchel Cabuloy)
* Fix: Inline panel first and last sorting arrows correctly hidden in non-default tabs (Matt Westcott)

Wyświetl plik

@ -22,6 +22,7 @@ Other features
* Breadcrumb navigation now uses globe icon to indicate tree root, rather than home icon (Matt Westcott)
* Wagtail now uses React 15.6.2 and above, released under the MIT license (Janneke Janssen)
* User search in the Wagtail admin UI now works across multiple fields (Will Giddens)
* ``Page.last_published_at`` is now a filterable field for search (Mikalai Radchuk)
Bug fixes
~~~~~~~~~

Wyświetl plik

@ -358,6 +358,7 @@ class Page(six.with_metaclass(PageBase, AbstractPage, index.Indexed, Clusterable
index.FilterField('locked'),
index.FilterField('show_in_menus'),
index.FilterField('first_published_at'),
index.FilterField('last_published_at'),
index.FilterField('latest_revision_created_at'),
]