diff --git a/wagtail/wagtailsearch/backends/base.py b/wagtail/wagtailsearch/backends/base.py index e392c969bc..5f56f5d740 100644 --- a/wagtail/wagtailsearch/backends/base.py +++ b/wagtail/wagtailsearch/backends/base.py @@ -25,15 +25,6 @@ class BaseSearchQuery(object): self.operator = operator or self.DEFAULT_OPERATOR self.order_by_relevance = order_by_relevance - def _get_searchable_field(self, field_attname): - # Get field - field = dict( - (field.get_attname(self.queryset.model), field) - for field in self.queryset.model.get_searchable_search_fields() - ).get(field_attname, None) - - return field - def _get_filterable_field(self, field_attname): # Get field field = dict(