@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
@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
<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>
<% 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) %>