mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
b53ade450e
@ -1389,7 +1389,9 @@ class BuiltinSeriesSort(BuiltinFormatterFunction):
|
||||
|
||||
def evaluate(self, formatter, kwargs, mi, locals):
|
||||
if mi.series:
|
||||
return title_sort(mi.series)
|
||||
langs = mi.languages
|
||||
lang = langs[0] if langs else None
|
||||
return title_sort(mi.series, lang=lang)
|
||||
return ''
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user