From 2f6070bb2b9d3f0b04aa17072ce3e1dfac8d32fe Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 13 Aug 2014 16:08:55 +0000 Subject: [PATCH] fix test failure on Ruby 1.8.7 PostgreSQL (#17484) git-svn-id: http://svn.redmine.org/redmine/trunk@13338 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/context_menus_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/context_menus_helper.rb b/app/helpers/context_menus_helper.rb index b97d9844a..cc8d2b153 100644 --- a/app/helpers/context_menus_helper.rb +++ b/app/helpers/context_menus_helper.rb @@ -43,7 +43,7 @@ module ContextMenusHelper def bulk_update_time_entry_custom_field_context_menu_link(field, text, value) context_menu_link h(text), - bulk_update_time_entries_path(:ids => @time_entries.map(&:id), :time_entry => {'custom_field_values' => {field.id => value}}, :back_url => @back), + bulk_update_time_entries_path(:ids => @time_entries.map(&:id).sort, :time_entry => {'custom_field_values' => {field.id => value}}, :back_url => @back), :method => :post, :selected => (@time_entry && @time_entry.custom_field_value(field) == value) end -- 2.39.5