Skip to content

Commit 7fac90b

Browse files
committed
Fix bug reported by Gabor Nagy in MultilinkHTMLProperty::sorted
from: https://sourceforge.net/p/roundup/mailman/message/37855862/
1 parent a5d0b1e commit 7fac90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2707,7 +2707,7 @@ def sorted(self, property, reverse=False, NoneFirst=False):
27072707
return value
27082708

27092709
# determine orderprop for property if property is a link or multilink
2710-
prop = self._db.getclass(self._classname).getprops()[property]
2710+
prop = self._db.getclass(self._prop.classname).getprops()[property]
27112711
if type(prop) in [hyperdb.Link, hyperdb.Multilink]:
27122712
orderprop = value[0]._db.getclass(prop.classname).orderprop()
27132713
sort_by_link = True

0 commit comments

Comments
 (0)