mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 17:26:06 +01:00
Adds subtasking (#443) including:
* priority, start/due dates, progress, estimate, spent time roll-up to parent issues * descendant issues tree displayed on the issue view with context menu support * issue tree display on the gantt chart * issue tree copy on project copy * unlimited nesting Defining subtasks requires the new permission 'Manage subtasks'. Subtasks can not belong to a different project than the parent task. Implementation is based on scoped nested sets for fast reads and updates. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3573 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -256,7 +256,7 @@ module CollectiveIdea #:nodoc:
|
||||
end
|
||||
|
||||
def leaf?
|
||||
right - left == 1
|
||||
new_record? || (right - left == 1)
|
||||
end
|
||||
|
||||
# Returns true is this is a child node
|
||||
|
||||
Reference in New Issue
Block a user