mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-15 22:34:56 +00:00
removed some more unwanted refactoring
This commit is contained in:
parent
896e8fddc3
commit
518c56e569
@ -988,8 +988,8 @@ class CalibreDB:
|
||||
|
||||
if with_count:
|
||||
if not languages:
|
||||
languages = self.session.query(Languages, func.count('books_languages_link.book')) \
|
||||
.join(books_languages_link).join(Books) \
|
||||
languages = self.session.query(Languages, func.count('books_languages_link.book'))\
|
||||
.join(books_languages_link).join(Books)\
|
||||
.filter(self.common_filters(return_all_languages=return_all_languages)) \
|
||||
.group_by(text('books_languages_link.lang_code')).all()
|
||||
tags = list()
|
||||
|
Loading…
Reference in New Issue
Block a user