From 8d8a49cee08fb7e3448d6e205a0a5e680a68adec Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 10 Nov 2020 11:09:46 +0000 Subject: [PATCH] shorten long line of lib/redmine/field_format.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20323 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/field_format.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb index bcf100e3b..04b4cf9ea 100644 --- a/lib/redmine/field_format.rb +++ b/lib/redmine/field_format.rb @@ -893,7 +893,9 @@ module Redmine def query_filter_values(custom_field, query) versions = possible_values_records(custom_field, query.project, true) - Version.sort_by_status(versions).collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s, l("version_status_#{s.status}")] } + Version.sort_by_status(versions).collect do |s| + ["#{s.project.name} - #{s.name}", s.id.to_s, l("version_status_#{s.status}")] + end end def possible_values_records(custom_field, object=nil, all_statuses=false) -- 2.39.5