forked from wagtail/wagtail-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add possibility for custom filter function wagtail#138
Since it is not possible to improve the search currently a check was implemented to look for a custom search function in the model to filter. If one is found it is called and the result is validated to be a queryset of the expected type.
- Loading branch information
1 parent
9e605eb
commit 453e129
Showing
1 changed file
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters