mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Fix joins and subqueries
This commit is contained in:
@@ -24,7 +24,8 @@ SELECT ARRAY(
|
||||
|
||||
class BookTGRMSearchService(TRGMSearchService):
|
||||
MODEL_CLASS = BookDB
|
||||
PREFETCH_RELATED = ["source", "authors", "translators", "annotations"]
|
||||
SELECT_RELATED = ["source"]
|
||||
PREFETCH_RELATED = ["authors", "translators", "annotations"]
|
||||
GET_OBJECT_IDS_QUERY = GET_OBJECT_IDS_QUERY
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user