mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 09:21:12 +00:00
Filtering issues via context menu should not reset selected columns (#26836).
Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@17955 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8d6ecfa068
commit
49efe66ff5
@ -45,6 +45,9 @@ class ContextMenusController < ApplicationController
|
||||
@priorities = IssuePriority.active.reverse
|
||||
@back = back_url
|
||||
|
||||
params = CGI.parse(@back)
|
||||
@columns = params["c[]"]
|
||||
|
||||
@options_by_custom_field = {}
|
||||
if @can[:edit]
|
||||
custom_fields = @issues.map(&:editable_custom_fields).reduce(:&).reject(&:multiple?).select {|field| field.format.bulk_edit_supported}
|
||||
|
||||
@ -134,7 +134,7 @@
|
||||
<% end %>
|
||||
|
||||
<% unless @issue %>
|
||||
<li><%= context_menu_link l(:button_filter), _project_issues_path(@project, :set_filter => 1, :status_id => "*", :issue_id => @issue_ids.join(",")),
|
||||
<li><%= context_menu_link l(:button_filter), _project_issues_path(@project, :set_filter => 1, :status_id => "*", :issue_id => @issue_ids.join(","), :c => @columns),
|
||||
:class => 'icon icon-list' %></li>
|
||||
<% end %>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user