Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 7479:d267b0454500
Fix bug reported by Gabor Nagy in MultilinkHTMLProperty::sorted
from:
https://sourceforge.net/p/roundup/mailman/message/37855862/
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 11 Jun 2023 22:40:38 -0400 |
| parents | 94a5a9e6f0d2 |
| children | 14a8e11f3a87 91725f12b239 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Sun Jun 11 21:32:46 2023 -0400 +++ b/roundup/cgi/templating.py Sun Jun 11 22:40:38 2023 -0400 @@ -2707,7 +2707,7 @@ return value # determine orderprop for property if property is a link or multilink - prop = self._db.getclass(self._classname).getprops()[property] + prop = self._db.getclass(self._prop.classname).getprops()[property] if type(prop) in [hyperdb.Link, hyperdb.Multilink]: orderprop = value[0]._db.getclass(prop.classname).orderprop() sort_by_link = True
