Mercurial > p > roundup > code
changeset 575:2df17627528d
htmltemplate list() wasn't sorting...
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 22 Jan 2002 22:55:28 +0000 |
| parents | d41d94511170 |
| children | f98f37697f4c |
| files | CHANGES.txt roundup/htmltemplate.py |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Tue Jan 22 22:46:22 2002 +0000 +++ b/CHANGES.txt Tue Jan 22 22:55:28 2002 +0000 @@ -22,6 +22,7 @@ . fixed status changes in mail gateway (eg. unread -> chatting) . we'll actually distribute the frontends directory now, as advertised... . handle stripping of "AW:" from subject line + . htmltemplate list() wasn't sorting... 2002-01-16 - 0.4.0b2
--- a/roundup/htmltemplate.py Tue Jan 22 22:46:22 2002 +0000 +++ b/roundup/htmltemplate.py Tue Jan 22 22:55:28 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.67 2002-01-22 22:46:22 richard Exp $ +# $Id: htmltemplate.py,v 1.68 2002-01-22 22:55:28 richard Exp $ __doc__ = """ Template engine. @@ -468,6 +468,7 @@ if not isinstance(propcl, hyperdb.Multilink): return _('[List: not a Multilink]') value = self.cl.get(self.nodeid, property) + value.sort() if reverse: value.reverse() @@ -1047,6 +1048,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.67 2002/01/22 22:46:22 richard +# more htmltemplate cleanups and unit tests +# # Revision 1.66 2002/01/22 06:35:40 richard # more htmltemplate tests and cleanup #
