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

remove select forcing only order statements to be returned by default for custom field order

Ivan Kuchin3a63b2a9ba7c
diff --git a/app/models/queries/projects/orders/custom_field_order.rb b/app/models/queries/projects/orders/custom_field_order.rb
index 02b7bac6a92..d8419bcb555 100644
--- a/app/models/queries/projects/orders/custom_field_order.rb
+++ b/app/models/queries/projects/orders/custom_field_order.rb
@@ -53,10 +53,6 @@ class Queries::Projects::Orders::CustomFieldOrder < Queries::Orders::Base
end
end
- def apply_to(_query_scope)
- super.select(custom_field.order_statements)
- end
-
def available?
custom_field.present?
end