"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/helpers/queries_helper.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

queries_helper.rb  (redmine-4.1.0):queries_helper.rb  (redmine-4.1.1)
skipping to change at line 276 skipping to change at line 276
value.to_a.map {|a| a.filename}.join("\n") value.to_a.map {|a| a.filename}.join("\n")
else else
format_object(value, false) do |value| format_object(value, false) do |value|
case value.class.name case value.class.name
when 'Float' when 'Float'
sprintf("%.2f", value).gsub('.', l(:general_csv_decimal_separator)) sprintf("%.2f", value).gsub('.', l(:general_csv_decimal_separator))
when 'IssueRelation' when 'IssueRelation'
value.to_s(object) value.to_s(object)
when 'Issue' when 'Issue'
if object.is_a?(TimeEntry) if object.is_a?(TimeEntry)
"#{value.tracker} ##{value.id}: #{value.subject}" value.visible? ? "#{value.tracker} ##{value.id}: #{value.subject}" : "##{value.id}"
else else
value.id value.id
end end
else else
value value
end end
end end
end end
end end
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)