Commit 2906be84 authored by jplang's avatar jplang

Send columns as a param to context menu instead of parsing back_url (#26836).

git-svn-id: https://svn.redmine.org/redmine/trunk@17956 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d16a4bf9
......@@ -45,8 +45,7 @@ class ContextMenusController < ApplicationController
@priorities = IssuePriority.active.reverse
@back = back_url
params = CGI.parse(@back)
@columns = params["c[]"]
@columns = params[:c]
@options_by_custom_field = {}
if @can[:edit]
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment