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 replacing nil by false which doesn't seem to be needed

Ivan Kuchinac274830c7c3
diff --git a/app/models/queries/work_packages/selects/custom_field_select.rb b/app/models/queries/work_packages/selects/custom_field_select.rb
index 5c6931cd6e4..e24e2825f1b 100644
--- a/app/models/queries/work_packages/selects/custom_field_select.rb
+++ b/app/models/queries/work_packages/selects/custom_field_select.rb
@@ -33,9 +33,9 @@ class Queries::WorkPackages::Selects::CustomFieldSelect < Queries::WorkPackages:
@cf = custom_field
@name = custom_field.column_name.to_sym
- @sortable = custom_field.order_statement || false
- @sortable_join = custom_field.order_join_statement || false
- @groupable = custom_field.group_by_statement || false
+ @sortable = custom_field.order_statement
+ @sortable_join = custom_field.order_join_statement
+ @groupable = custom_field.group_by_statement
@summable = summable_statement
end