ModelAdmin.get_search_results(request, queryset, search_term) [source]
The get_search_results method modifies the list of objects displayed into those that match the provided search term. It accepts the request, a queryset that applies the current filters, and the user-provided search term. It returns a tuple containing a queryset modified to implement the search, and a boolean indicating if the results may contain duplicates.
The default implementation searches the fields named in ModelAdmi