summaryrefslogtreecommitdiffstats
path: root/app/views/queries
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-08 18:50:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-08 18:50:22 +0000
commit77bac4b14d3bdf0ec53d88ee4aef05471bd8d198 (patch)
tree2ae6a48b47a7ee7fe09427c83cc5fcd0259fdc96 /app/views/queries
parentb7a435f7a02080ce07b79efc60178ef745ef3c4d (diff)
downloadredmine-77bac4b14d3bdf0ec53d88ee4aef05471bd8d198.tar.gz
redmine-77bac4b14d3bdf0ec53d88ee4aef05471bd8d198.zip
Ability to set default column order in issue list (#11068).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9780 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries')
-rw-r--r--app/views/queries/_columns.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb
index 7c1f8d5ab..5e665fd75 100644
--- a/app/views/queries/_columns.html.erb
+++ b/app/views/queries/_columns.html.erb
@@ -17,10 +17,10 @@
<td>
<%= label_tag "selected_columns", l(:description_selected_columns) %>
<br />
- <%= select_tag 'c[]',
+ <%= select_tag((defined?(tag_name) ? tag_name : 'c[]'),
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
- :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
+ :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);") %>
</td>
<td class="buttons">
<input type="button" value="&#8593;" onclick="moveOptionUp(this.form.selected_columns);" /><br />