##// END OF EJS Templates
Same fix as r13582 for trackers and statuses (#18769)....
Jean-Philippe Lang -
r13471:fec68fcfc1d1
parent child
Show More
@@ -56,7 +56,7 class IssueStatusesController < ApplicationController
56 56 @issue_status = IssueStatus.find(params[:id])
57 57 if @issue_status.update_attributes(params[:issue_status])
58 58 flash[:notice] = l(:notice_successful_update)
59 redirect_to issue_statuses_path
59 redirect_to issue_statuses_path(:page => params[:page])
60 60 else
61 61 render :action => 'edit'
62 62 end
@@ -64,7 +64,7 class TrackersController < ApplicationController
64 64 @tracker = Tracker.find(params[:id])
65 65 if @tracker.update_attributes(params[:tracker])
66 66 flash[:notice] = l(:notice_successful_update)
67 redirect_to trackers_path
67 redirect_to trackers_path(:page => params[:page])
68 68 return
69 69 end
70 70 edit
@@ -23,7 +23,7
23 23 <td><%= h status.default_done_ratio %></td>
24 24 <% end %>
25 25 <td><%= checked_image status.is_closed? %></td>
26 <td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
26 <td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status, :page => params[:page]}, :put) %></td>
27 27 <td class="buttons">
28 28 <%= delete_link issue_status_path(status) %>
29 29 </td>
@@ -24,7 +24,7
24 24 <% end %>
25 25 </td>
26 26 <td class="reorder">
27 <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
27 <%= reorder_links('tracker', {:action => 'update', :id => tracker, :page => params[:page]}, :put) %>
28 28 </td>
29 29 <td class="buttons">
30 30 <%= delete_link tracker_path(tracker) %>
General Comments 0
You need to be logged in to leave comments. Login now