1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Same fix as r13582 for trackers and statuses (#18769).

git-svn-id: http://svn.redmine.org/redmine/trunk@13853 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-01-07 22:56:34 +00:00
parent b1e105abe2
commit fec68fcfc1
4 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ class IssueStatusesController < ApplicationController
@issue_status = IssueStatus.find(params[:id])
if @issue_status.update_attributes(params[:issue_status])
flash[:notice] = l(:notice_successful_update)
redirect_to issue_statuses_path
redirect_to issue_statuses_path(:page => params[:page])
else
render :action => 'edit'
end

View File

@ -64,7 +64,7 @@ class TrackersController < ApplicationController
@tracker = Tracker.find(params[:id])
if @tracker.update_attributes(params[:tracker])
flash[:notice] = l(:notice_successful_update)
redirect_to trackers_path
redirect_to trackers_path(:page => params[:page])
return
end
edit

View File

@ -23,7 +23,7 @@
<td><%= h status.default_done_ratio %></td>
<% end %>
<td><%= checked_image status.is_closed? %></td>
<td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
<td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status, :page => params[:page]}, :put) %></td>
<td class="buttons">
<%= delete_link issue_status_path(status) %>
</td>

View File

@ -24,7 +24,7 @@
<% end %>
</td>
<td class="reorder">
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
<%= reorder_links('tracker', {:action => 'update', :id => tracker, :page => params[:page]}, :put) %>
</td>
<td class="buttons">
<%= delete_link tracker_path(tracker) %>