diff roundup/cgi/templating.py @ 1163:cc67cc87cc9c

oops
author Richard Jones <richard@users.sourceforge.net>
date Wed, 18 Sep 2002 00:57:54 +0000
parents 420de8f2d308
children 7b448a2425fd
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Wed Sep 18 00:02:13 2002 +0000
+++ b/roundup/cgi/templating.py	Wed Sep 18 00:57:54 2002 +0000
@@ -326,7 +326,7 @@
 
         # get the list and sort it nicely
         l = self._klass.list()
-        sortfunc = make_sort_function(self._db, self._prop.classname)
+        sortfunc = make_sort_function(self._db, self.classname)
         l.sort(sortfunc)
 
         l = [klass(self._client, self.classname, x) for x in l]

Roundup Issue Tracker: http://roundup-tracker.org/