summaryrefslogtreecommitdiffstats
path: root/app/views/queries
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-03 14:31:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-03 14:31:32 +0000
commit3c06f66d716cb7abba98f5efec203afb0e3578e8 (patch)
treecdd6ad515364936a7cb69e5297c80856e210b691 /app/views/queries
parent87bcb215630263f7ccb6480d2a44cf8901ea84d5 (diff)
downloadredmine-3c06f66d716cb7abba98f5efec203afb0e3578e8.tar.gz
redmine-3c06f66d716cb7abba98f5efec203afb0e3578e8.zip
Shorten query[column_names] param name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries')
-rw-r--r--app/views/queries/_columns.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/queries/_columns.rhtml b/app/views/queries/_columns.rhtml
index 91ee627b2..f96d87b0a 100644
--- a/app/views/queries/_columns.rhtml
+++ b/app/views/queries/_columns.rhtml
@@ -10,7 +10,7 @@
<input type="button" value="&#8592;"
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
</td>
- <td><%= select_tag 'query[column_names][]',
+ <td><%= select_tag 'c[]',
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
</td>