Fixed search bug

Introduced due to a copy-paste issue.
This commit is contained in:
giomba 2018-10-21 13:15:03 +02:00
parent 277a1bad60
commit c7fcbc6d39
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ def filter(library, title='', author=''):
if filterTitle(i, title) and filterAuthor(i, author):
result.append(i)
sortedResult = sorted(library, key=lambda k: k.get('title', ''))
sortedResult = sorted(result, key=lambda k: k.get('title', ''))
return sortedResult