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/controllers/queries_controller.rb | |
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/controllers/queries_controller.rb')
-rw-r--r-- | app/controllers/queries_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/queries_controller.rb b/app/controllers/queries_controller.rb index 8500e853a..b688d2c43 100644 --- a/app/controllers/queries_controller.rb +++ b/app/controllers/queries_controller.rb @@ -30,6 +30,7 @@ class QueriesController < ApplicationController params[:fields].each do |field| @query.add_filter(field, params[:operators][field], params[:values][field]) end if params[:fields] + @query.group_by ||= params[:group_by] if request.post? && params[:confirm] && @query.save flash[:notice] = l(:notice_successful_create) |