Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
personal: Use index.AutocompleteField
Wagtail is changing its search API [1]. There is a documentation PR pending at [2]. Our automplete hack - patch to make Wagtail Snippet Chooser use .autocomplete() instead of .search() - stopped working after the Wagtail update for the Contact snippet. Use wagtail.search.index.AutocompleteField in Contact model to specify, which fields should be indexed for autocompletion. [1] https://github.com/wagtail/wagtail/issues/4937 [2] https://github.com/wagtail/wagtail/issues/4938
- Loading branch information