mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-30 05:35:14 +00:00
Fixes for book edit with title sort and author sort
This commit is contained in:
@@ -63,7 +63,7 @@ def get_language_codes(locale, language_names, remainder=None):
|
||||
if v in language_names:
|
||||
lang.append(k)
|
||||
language_names.remove(v)
|
||||
if remainder is not None:
|
||||
if remainder is not None and language_names:
|
||||
remainder.extend(language_names)
|
||||
return lang
|
||||
|
||||
|
||||
Reference in New Issue
Block a user