1
0
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:
Ozzieisaacs
2020-10-10 10:32:53 +02:00
parent d70ded0993
commit 2e67bd2407
5 changed files with 22 additions and 18 deletions

View File

@@ -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):