]> source.dussan.org Git - redmine.git/commitdiff
fix test failure on Ruby 1.8.7 PostgreSQL (#17484)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 13 Aug 2014 16:08:55 +0000 (16:08 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 13 Aug 2014 16:08:55 +0000 (16:08 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13338 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/context_menus_helper.rb

index b97d9844afc0b94b2fe86bf5f29980220455c3e3..cc8d2b153f6dddd5dfc0edc8ddfed6ede62fd452 100644 (file)
@@ -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