mirror of
https://github.com/redmine/redmine.git
synced 2026-01-19 05:53:02 +01:00
Merged r15958 (#24296).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16005 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -61,7 +61,7 @@ module Redmine
|
||||
|
||||
# Returns the siblings
|
||||
def siblings
|
||||
nested_set_scope.where(:parent_id => parent_id).where("id <> ?", id)
|
||||
nested_set_scope.where(:parent_id => parent_id).where("#{self.class.table_name}.id <> ?", id)
|
||||
end
|
||||
|
||||
# Returns the ancestors
|
||||
|
||||
Reference in New Issue
Block a user