parent
277a1bad60
commit
c7fcbc6d39
|
@ -139,7 +139,7 @@ def filter(library, title='', author=''):
|
||||||
if filterTitle(i, title) and filterAuthor(i, author):
|
if filterTitle(i, title) and filterAuthor(i, author):
|
||||||
result.append(i)
|
result.append(i)
|
||||||
|
|
||||||
sortedResult = sorted(library, key=lambda k: k.get('title', ''))
|
sortedResult = sorted(result, key=lambda k: k.get('title', ''))
|
||||||
|
|
||||||
return sortedResult
|
return sortedResult
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue