mirror of
https://github.com/redmine/redmine.git
synced 2026-03-27 23:00:50 +01:00
Merged r17955 and r17956 to 4.0-stable (#26836).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17957 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -43,6 +43,8 @@ class ContextMenusController < ApplicationController
|
||||
@priorities = IssuePriority.active.reverse
|
||||
@back = back_url
|
||||
|
||||
@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 %>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%>
|
||||
<%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
|
||||
<%= query_columns_hidden_tags(query) %>
|
||||
<div class="autoscroll">
|
||||
<table class="list issues odd-even <%= query.css_classes %>">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user