summaryrefslogtreecommitdiffstats
path: root/app/views/queries/_columns.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-06 17:48:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-06 17:48:19 +0000
commit8201761e7732faa3933899653de5951dcbd6b27c (patch)
treed13d476efca02a4b4bf45a3b06b08ccda1aa6e97 /app/views/queries/_columns.html.erb
parent43fb3211951ce170df5c7dd1b3f5da871470bdfc (diff)
downloadredmine-8201761e7732faa3933899653de5951dcbd6b27c.tar.gz
redmine-8201761e7732faa3933899653de5951dcbd6b27c.zip
Adds an option for displaying the issue description on the issue list (#3447).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10948 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries/_columns.html.erb')
-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 5e665fd75..78d3c5703 100644
--- a/app/views/queries/_columns.html.erb
+++ b/app/views/queries/_columns.html.erb
@@ -4,7 +4,7 @@
<%= label_tag "available_columns", l(:description_available_columns) %>
<br />
<%= select_tag 'available_columns',
- options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
+ options_for_select((query.available_inline_columns - query.columns).collect {|column| [column.caption, column.name]}),
:multiple => true, :size => 10, :style => "width:150px",
:ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
</td>
@@ -18,7 +18,7 @@
<%= label_tag "selected_columns", l(:description_selected_columns) %>
<br />
<%= select_tag((defined?(tag_name) ? tag_name : 'c[]'),
- options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
+ options_for_select(query.inline_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);") %>
</td>