openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #11242
[Merge] lp:~cblak3/openlp/bug817674 into lp:openlp
Chris Blake has proposed merging lp:~cblak3/openlp/bug817674 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #817674 in OpenLP: "Export Song - Song list appears to be random order"
https://bugs.launchpad.net/openlp/+bug/817674
For more details, see:
https://code.launchpad.net/~cblak3/openlp/bug817674/+merge/70769
Fixed bug #817674 'Export Song - Song list appears to be random order '
--
https://code.launchpad.net/~cblak3/openlp/bug817674/+merge/70769
Your team OpenLP Core is requested to review the proposed merge of lp:~cblak3/openlp/bug817674 into lp:openlp.
=== modified file 'openlp/plugins/songs/forms/songexportform.py'
--- openlp/plugins/songs/forms/songexportform.py 2011-06-12 16:02:52 +0000
+++ openlp/plugins/songs/forms/songexportform.py 2011-08-08 17:39:24 +0000
@@ -249,6 +249,7 @@
# Load the list of songs.
Receiver.send_message(u'cursor_busy')
songs = self.plugin.manager.get_all_objects(Song)
+ songs.sort(key=lambda song: song.title.lower())
for song in songs:
authors = u', '.join([author.display_name
for author in song.authors])
Follow ups