mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
remove unused private method in BaseSearchQuery
This commit is contained in:
parent
f6842e6f2e
commit
182c16c46a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user