Index: issue_query.rb =================================================================== --- issue_query.rb (revision 13959) +++ issue_query.rb (working copy) @@ -142,7 +142,7 @@ if all_projects.any? principals += Principal.member_of(all_projects) end - versions = Version.visible.where(:sharing => 'system').all + versions = Version.visible.all issue_custom_fields = IssueCustomField.where(:is_for_all => true) end principals.uniq!