mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Makes PageChooserPanel
search in all fields. (#3979)
This commit is contained in:
parent
25f60060d3
commit
d6df75e1d2
@ -162,7 +162,7 @@ def search(request, parent_page_id=None):
|
||||
)
|
||||
pages = filter_page_type(pages, desired_classes)
|
||||
pages = pages.specific()
|
||||
pages = pages.search(search_form.cleaned_data['q'], fields=['title'])
|
||||
pages = pages.search(search_form.cleaned_data['q'])
|
||||
else:
|
||||
pages = pages.none()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user