BRILLIANT! :)

/Philip

Alec Thomas wrote:

On Wed, May 03, 2006 at 11:28:03AM -0400, Matthew Good wrote:
The sandbox branches are experimental and will almost certainly contain
bugs not found in the trunk or stable releases, so be absolutely certain
to mention when you're using a sandbox branch to avoid confusion.

Alec is working on the Workflow sandbox and may be able to help, but if
you'd like to provide a patch I'm sure he'd appreciate it :)

Quite right ;)

Philip, try this patch:

Index: trac/ticket/api.py
===================================================================
--- trac/ticket/api.py  (revision 3263)
+++ trac/ticket/api.py  (working copy)
@@ -293,6 +293,8 @@
                # Don't make completed milestones available for selection
                options = field.options[:]
                for option in field.options:
+                    if option == value:
+                        continue
                    milestone = Milestone(self.env, option)
                    if milestone.is_completed:
                        options.remove(option)




_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to