Mercurial > p > roundup > code
changeset 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 | e8d2a4bca16a |
| children | b60dd795d221 |
| files | roundup/cgi/templating.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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
