diff roundup/cgi/templating.py @ 3700:9cc2566cc7d9

This isn't really nice, but now grouping by transitive multilinks works.
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Fri, 08 Sep 2006 19:47:31 +0000
parents 976191d749fb
children 06d7816976bc
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Fri Sep 08 19:28:37 2006 +0000
+++ b/roundup/cgi/templating.py	Fri Sep 08 19:47:31 2006 +0000
@@ -2515,8 +2515,9 @@
         if self.last_item is None:
             return 1
         for property in properties:
-            if property == 'id':
-                if (self.last_item['id'] != self.current_item['id']):
+            if property == 'id' or isinstance (self.last_item[property], list):
+                if (str(self.last_item[property]) !=
+                    str(self.current_item[property])):
                     return 1
             else:
                 if (self.last_item[property]._value !=

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