mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Add sequences to BookDetail
This commit is contained in:
@@ -43,8 +43,8 @@ SELECT ARRAY(
|
||||
|
||||
class AuthorTGRMSearchService(TRGMSearchService):
|
||||
MODEL_CLASS = Author
|
||||
SELECT_RELATED = ["source"]
|
||||
PREFETCH_RELATED = ["annotations"]
|
||||
PREFETCH_RELATED = ["source"]
|
||||
SELECT_RELATED = ["annotations"]
|
||||
GET_OBJECT_IDS_QUERY = GET_OBJECT_IDS_QUERY
|
||||
|
||||
|
||||
@@ -70,8 +70,8 @@ class GetRandomAuthorService(GetRandomService):
|
||||
|
||||
class AuthorMeiliSearchService(MeiliSearchService):
|
||||
MODEL_CLASS = Author
|
||||
SELECT_RELATED = ["source"]
|
||||
PREFETCH_RELATED = ["annotations"]
|
||||
PREFETCH_RELATED = ["source"]
|
||||
SELECT_RELATED = ["annotations"]
|
||||
|
||||
MS_INDEX_NAME = "authors"
|
||||
MS_INDEX_LANG_KEY = "author_langs"
|
||||
|
||||
Reference in New Issue
Block a user