mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-20 21:11:55 +00:00
PostgresSearchResult → PostgresSearchResults.
This commit is contained in:
parent
31e025032c
commit
8f273d4fe4
1 changed files with 2 additions and 2 deletions
|
|
@ -285,7 +285,7 @@ class PostgresSearchQuery(BaseSearchQuery):
|
|||
return self.search_in_fields(queryset, search_query, start, stop)
|
||||
|
||||
|
||||
class PostgresSearchResult(BaseSearchResults):
|
||||
class PostgresSearchResults(BaseSearchResults):
|
||||
def get_config(self):
|
||||
queryset = self.query.queryset
|
||||
return self.backend.get_index_for_model(
|
||||
|
|
@ -335,7 +335,7 @@ class PostgresSearchAtomicRebuilder(PostgresSearchRebuilder):
|
|||
|
||||
class PostgresSearchBackend(BaseSearchBackend):
|
||||
query_class = PostgresSearchQuery
|
||||
results_class = PostgresSearchResult
|
||||
results_class = PostgresSearchResults
|
||||
rebuilder_class = PostgresSearchRebuilder
|
||||
atomic_rebuilder_class = PostgresSearchAtomicRebuilder
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue