Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 4958:9b1302f9fb11
Fix for 'try_id_parsing'
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Tue, 16 Dec 2014 13:44:12 +0100 |
| parents | 55aef7ab35a8 |
| children | 177b77302262 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Sun Dec 14 13:24:52 2014 +0300 +++ b/roundup/cgi/templating.py Tue Dec 16 13:44:12 2014 +0100 @@ -1982,7 +1982,8 @@ value = '' else: k = linkcl.getkey() - if k and num_re.match(self._value): + idparse = self._prop.try_id_parsing + if k and idparse and num_re.match(self._value): value = linkcl.get(self._value, k) else: value = self._value
