Mercurial > p > roundup > code
diff share/roundup/templates/devel/schema.py @ 5133:85eee1f236b2
I had an incorrect fix for issue2550601. Changed schema to define
class patches not patch.
Changed commented out patches section in bug.item.html to
use patches-1 an not patch-1 as a result of schema changes.
The show open Milestones link had a leak of the @group
value. If you clicked on show open tasks or show open bugs
they group by priority.
The url being formed for show open milestones was inheriting the @group
if you were on an index page for bugs or milestones. Explicit set the
@group to status (which a milestone does have) prevents the
@group=priority from being applied to a milestone index page which
results in a red error banner stating priority is an invalid param for
milestones.
./demo.py -t devel now runs without obvious breakage.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 04 Jul 2016 18:19:51 -0400 |
| parents | cf112b90fa8d |
| children | ce5512002629 |
line wrap: on
line diff
--- a/share/roundup/templates/devel/schema.py Mon Jul 04 15:14:54 2016 -0400 +++ b/share/roundup/templates/devel/schema.py Mon Jul 04 18:19:51 2016 -0400 @@ -126,7 +126,7 @@ description=String(indexme='yes')) # Patch -patch = FileClass(db, "patch", +patches = FileClass(db, "patches", name=String(), description=String(indexme='yes'), repository=String(),
