summaryrefslogtreecommitdiffstats
path: root/lib/redmine/nested_set/issue_nested_set.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/nested_set/issue_nested_set.rb')
-rw-r--r--lib/redmine/nested_set/issue_nested_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/nested_set/issue_nested_set.rb b/lib/redmine/nested_set/issue_nested_set.rb
index dac340ba3..5a6af9440 100644
--- a/lib/redmine/nested_set/issue_nested_set.rb
+++ b/lib/redmine/nested_set/issue_nested_set.rb
@@ -36,7 +36,7 @@ module Redmine
def target_lft
scope_for_max_rgt = self.class.where(:root_id => root_id).where(:parent_id => parent_id)
if id
- #scope_for_max_rgt = scope_for_max_rgt.where("id < ?", id)
+ scope_for_max_rgt = scope_for_max_rgt.where("id < ?", id)
end
max_rgt = scope_for_max_rgt.maximum(:rgt)
if max_rgt