Mercurial > p > roundup > code
changeset 3610:1dbaa664be28
sorting of entries in classhelp popup [SF#1449000]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 27 Apr 2006 05:08:04 +0000 |
| parents | f2fda3e6fc8b |
| children | 86d568dbab55 |
| files | CHANGES.txt roundup/cgi/templating.py |
| diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Thu Apr 27 04:59:37 2006 +0000 +++ b/CHANGES.txt Thu Apr 27 05:08:04 2006 +0000 @@ -19,6 +19,7 @@ - reduced frequency of session timestamp update - classhelp popup pagination forgot about "type" (sf bug 1465836) - umask is now configurable (with the same 0002 default) +- sorting of entries in classhelp popup (sf bug 1449000) 2006-03-03 1.1.1
--- a/roundup/cgi/templating.py Thu Apr 27 04:59:37 2006 +0000 +++ b/roundup/cgi/templating.py Thu Apr 27 05:08:04 2006 +0000 @@ -663,11 +663,10 @@ properties = ','.join(properties) if sort is None: if 'username' in properties.split( ',' ): - sort = '&@sort=username' + sort = 'username' else: - sort = '' - else: - sort = '&@sort=' + sort + sort = find_sort_key(self._klass) + sort = '&@sort=' + sort if property: property = '&property=%s'%property if form:
