diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-08-13 16:08:55 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-08-13 16:08:55 +0000 |
commit | 2f6070bb2b9d3f0b04aa17072ce3e1dfac8d32fe (patch) | |
tree | 80a3c0057e3706dff32cdb82b0b964d941cb3b38 | |
parent | 81f165966e1978ebde09b4ff88aadaacb42f442f (diff) | |
download | redmine-2f6070bb2b9d3f0b04aa17072ce3e1dfac8d32fe.tar.gz redmine-2f6070bb2b9d3f0b04aa17072ce3e1dfac8d32fe.zip |
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
-rw-r--r-- | app/helpers/context_menus_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |