From: richard Date: Tue, 22 Jan 2002 22:55:28 +0000 (+0000) Subject: . htmltemplate list() wasn't sorting... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=128220372633dc220a9501f1c26855069b8d9261;p=roundup.git . htmltemplate list() wasn't sorting... git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@587 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 15126c7..340e490 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,6 +22,7 @@ Fixed: . 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 diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index ff0276f..4157729 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -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 @@ class TemplateFunctions: 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 @@ class NewItemTemplate(TemplateFunctions): # # $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 #