1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ce186eb5fefc/ Changeset: ce186eb5fefc User: jmchilton Date: 2013-12-18 15:19:58 Summary: In upload tool sort FTP files by default. Not doing enough... but it is a step forward. http://dev.list.galaxyproject.org/sort-list-of-ftp-uploaded-files-tp4662859.... Affected #: 1 file diff -r c5c4deabb7316f2ef45ff8fb2718d167d91d09c0 -r ce186eb5fefcb7ff332c73bd0869b9e222293d0b lib/galaxy/web/form_builder.py --- a/lib/galaxy/web/form_builder.py +++ b/lib/galaxy/web/form_builder.py @@ -3,6 +3,8 @@ """ import logging, sys, os, time + +from operator import itemgetter from cgi import escape from galaxy.util import restore_text, relpath, nice_size, unicodify from galaxy.web import url_for @@ -212,6 +214,7 @@ ctime=time.strftime( "%m/%d/%Y %I:%M:%S %p", time.localtime( statinfo.st_ctime ) ) ) ) if not uploads: rval += '<tr><td colspan="4"><em>Your FTP upload directory contains no files.</em></td></tr>' + uploads = sorted(uploads, key=itemgetter("path")) for upload in uploads: rval += FTPFileField.trow % ( prefix, self.name, upload['path'], upload['path'], upload['size'], upload['ctime'] ) rval += FTPFileField.tfoot Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.