Project

General

Profile

Patch #16364 » workflow_bugfix.patch

Tadashi Hirata, 2014-03-17 06:25

View differences:

issue.rb (working copy)
771 771
        author == user,
772 772
        assignee_transitions_allowed
773 773
        )
774
      statuses << initial_status unless statuses.empty?
774
      statuses << initial_status if statuses.empty?
775 775
      statuses << IssueStatus.default if include_default
776 776
      statuses = statuses.compact.uniq.sort
777 777
      blocked? ? statuses.reject {|s| s.is_closed?} : statuses
(1-1/2)