Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#41934] changed scope of allowed values of principal loader

Eric Schubert5334b13ce886
diff --git a/app/models/queries/work_packages/filter/principal_loader.rb b/app/models/queries/work_packages/filter/principal_loader.rb
index 72a5b232e32..e0c07fa8ece 100644
--- a/app/models/queries/work_packages/filter/principal_loader.rb
+++ b/app/models/queries/work_packages/filter/principal_loader.rb
@@ -59,7 +59,7 @@ class Queries::WorkPackages::Filter::PrincipalLoader
if project
project.principals.sort
else
- Principal.not_locked.in_visible_project.sort
+ Principal.visible.sort
end
end