mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-29 06:17:40 +00:00
Fix add to shelf from search
This commit is contained in:
@@ -543,7 +543,7 @@ class CalibreDB():
|
||||
bind=cls.engine))
|
||||
for inst in cls.instances:
|
||||
inst.initSession()
|
||||
|
||||
|
||||
cls._init = True
|
||||
return True
|
||||
|
||||
@@ -685,7 +685,11 @@ class CalibreDB():
|
||||
else:
|
||||
offset = 0
|
||||
limit_all = result_count
|
||||
return result[offset:limit_all], result_count, pagination
|
||||
|
||||
ub.store_ids(result)
|
||||
|
||||
|
||||
return result[offset:limit_all], result_count, pagination,
|
||||
|
||||
# Creates for all stored languages a translated speaking name in the array for the UI
|
||||
def speaking_language(self, languages=None):
|
||||
|
||||
Reference in New Issue
Block a user