diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-04-26 13:09:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-04-26 13:09:14 +0000 |
commit | b557393252cc961c2f47dc90d50b75f76d7d7dca (patch) | |
tree | f7ebe7cfa18e256431393c7183146450e5377048 /app/views/queries/_form.rhtml | |
parent | 24875be705fdca8e53b7c39a58023d13421628e3 (diff) | |
download | redmine-b557393252cc961c2f47dc90d50b75f76d7d7dca.tar.gz redmine-b557393252cc961c2f47dc90d50b75f76d7d7dca.zip |
Ticket grouping (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries/_form.rhtml')
-rw-r--r-- | app/views/queries/_form.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/queries/_form.rhtml b/app/views/queries/_form.rhtml index 7c227a9f6..28faba177 100644 --- a/app/views/queries/_form.rhtml +++ b/app/views/queries/_form.rhtml @@ -19,6 +19,9 @@ <p><label for="query_default_columns"><%=l(:label_default_columns)%></label> <%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns', :onclick => 'if (this.checked) {Element.hide("columns")} else {Element.show("columns")}' %></p> + +<p><label for="query_group_by"><%= l(:field_group_by) %></label> +<%= select 'query', 'group_by', @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, :include_blank => true %></p> </div> <fieldset><legend><%= l(:label_filter_plural) %></legend> |