forked from openlp/openlp
partial fix bug #1000729 'Support more song fields in the search' - fixed sort for topic search - by song
Fixes: https://launchpad.net/bugs/1000729
This commit is contained in:
parent
e87d18bd67
commit
da4eac9961
@ -301,7 +301,8 @@ class SongMediaItem(MediaManagerItem):
|
||||
log.debug('display results Topic')
|
||||
self.list_view.clear()
|
||||
for topic in search_results:
|
||||
for song in topic.songs:
|
||||
songs = sorted(topic.songs, key=lambda song: song.sort_key)
|
||||
for song in songs:
|
||||
# Do not display temporary songs
|
||||
if song.temporary:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user