Skip to content

Commit a1c4ded

Browse files
author
Ralf Schlatterbeck
committed
This isn't really nice, but now grouping by transitive multilinks works.
1 parent 93a637e commit a1c4ded

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roundup/cgi/templating.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,8 +2515,9 @@ def propchanged(self, *properties):
25152515
if self.last_item is None:
25162516
return 1
25172517
for property in properties:
2518-
if property == 'id':
2519-
if (self.last_item['id'] != self.current_item['id']):
2518+
if property == 'id' or isinstance (self.last_item[property], list):
2519+
if (str(self.last_item[property]) !=
2520+
str(self.current_item[property])):
25202521
return 1
25212522
else:
25222523
if (self.last_item[property]._value !=

0 commit comments

Comments
 (0)