Menu

Commit [r6317]  Maximize  Restore  History

Fixing the order of some admin enums when modified through web-admin or trac-admin. Deleting a value left holes in the order, and made some strange ranges over time. Passes tests, and added some more to test the reordering.

As far as I can see, it is the name of the option (like 'defect') that is stored everywhere, with the order value is only used for display. Hope this assumption holds :-)

Closes #2876.

osimons 2007-12-11

changed /trunk/trac/ticket/model.py
changed /trunk/trac/ticket/tests/model.py
/trunk/trac/ticket/model.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/tests/model.py Diff Switch to side-by-side view
Loading...