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

shorten variable name

Ivan Kuchin5df243eff42d
diff --git a/app/models/queries/projects/selects/custom_field.rb b/app/models/queries/projects/selects/custom_field.rb
index cf0585868b3..d592f03ea7a 100644
--- a/app/models/queries/projects/selects/custom_field.rb
+++ b/app/models/queries/projects/selects/custom_field.rb
@@ -39,7 +39,7 @@ class Queries::Projects::Selects::CustomField < Queries::Selects::Base
ProjectCustomField
.visible
.pluck(:id)
- .map { |cf_id| new(:"cf_#{cf_id}") }
+ .map { |id| new(:"cf_#{id}") }
end
def caption