From e75631d7f579e2f4990f89626a310703801c238a Mon Sep 17 00:00:00 2001 From: Chris Blake Date: Mon, 8 Aug 2011 13:30:45 -0400 Subject: [PATCH] fixed bug #817674 'Export Song - Song list appears to be random order ' Fixes: https://launchpad.net/bugs/817674 --- openlp/plugins/songs/forms/songexportform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/forms/songexportform.py b/openlp/plugins/songs/forms/songexportform.py index 1e86c74a1..a654db486 100644 --- a/openlp/plugins/songs/forms/songexportform.py +++ b/openlp/plugins/songs/forms/songexportform.py @@ -249,7 +249,7 @@ class SongExportForm(OpenLPWizard): # Load the list of songs. Receiver.send_message(u'cursor_busy') songs = self.plugin.manager.get_all_objects(Song) - songs.sort(key=lambda custom: custom.title.lower()) + songs.sort(key=lambda song: song.title.lower()) for song in songs: authors = u', '.join([author.display_name for author in song.authors])