Code

oops
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 18 Sep 2002 00:57:54 +0000 (00:57 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 18 Sep 2002 00:57:54 +0000 (00:57 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1187 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/templating.py

index 2f2a478f14e570dbe49dc0cae1c0b21f67dfb6a5..5ab27bd844283a352d97ecf634df3f5388421a3d 100644 (file)
@@ -326,7 +326,7 @@ class HTMLClass(HTMLPermissions):
 
         # 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]