diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-07 22:56:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-07 22:56:34 +0000 |
commit | fec68fcfc1d1aa32e111fa4c1a05887e0057aa67 (patch) | |
tree | 3787ca5ca1652ad2f151251e04d008213d1d5433 /app | |
parent | b1e105abe2a2bcad90b1e61ae64fd8bb4dbec588 (diff) | |
download | redmine-fec68fcfc1d1aa32e111fa4c1a05887e0057aa67.tar.gz redmine-fec68fcfc1d1aa32e111fa4c1a05887e0057aa67.zip |
Same fix as r13582 for trackers and statuses (#18769).
git-svn-id: http://svn.redmine.org/redmine/trunk@13853 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/issue_statuses_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/trackers_controller.rb | 2 | ||||
-rw-r--r-- | app/views/issue_statuses/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/trackers/index.html.erb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index a6b72f329..3ac9f0d9d 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -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 diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index ec0b9ce3f..e333f1d26 100644 --- a/app/controllers/trackers_controller.rb +++ b/app/controllers/trackers_controller.rb @@ -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 diff --git a/app/views/issue_statuses/index.html.erb b/app/views/issue_statuses/index.html.erb index d4a2ecbb2..81c34f703 100644 --- a/app/views/issue_statuses/index.html.erb +++ b/app/views/issue_statuses/index.html.erb @@ -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> diff --git a/app/views/trackers/index.html.erb b/app/views/trackers/index.html.erb index d1928e989..64f06fc5c 100644 --- a/app/views/trackers/index.html.erb +++ b/app/views/trackers/index.html.erb @@ -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) %> |