forked from openlp/openlp
Minor fixes
This commit is contained in:
parent
efb71b4f31
commit
ae394cf028
@ -366,8 +366,9 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
"""
|
"""
|
||||||
log.debug('display results CCLI number')
|
log.debug('display results CCLI number')
|
||||||
self.list_view.clear()
|
self.list_view.clear()
|
||||||
search_results = sorted(search_results, key=lambda song: get_natural_key(song.ccli_number))
|
songs = sorted(search_results, key=lambda song: (get_natural_key(song.ccli_number),
|
||||||
for song in search_results:
|
song.sort_key))
|
||||||
|
for song in songs:
|
||||||
# Do not display temporary songs
|
# Do not display temporary songs
|
||||||
if song.temporary:
|
if song.temporary:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user