diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-12 09:44:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-12 09:44:32 +0000 |
commit | 9cb9f67055ebd97ab348af6b5c2c1df828bc1f74 (patch) | |
tree | 806516df7625a0e96ca9cfa084934a225d633d63 /test | |
parent | 78153cacdf3de97bc58bdc7fb57010a2d9874f34 (diff) | |
download | redmine-9cb9f67055ebd97ab348af6b5c2c1df828bc1f74.tar.gz redmine-9cb9f67055ebd97ab348af6b5c2c1df828bc1f74.zip |
SQL error with SQLServer when grouping+sorting issues (#19544).
git-svn-id: http://svn.redmine.org/redmine/trunk@14165 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 33a85540e..28d4eef14 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -265,6 +265,14 @@ class IssuesControllerTest < ActionController::TestCase assert_not_nil assigns(:issue_count_by_group) end + def test_index_with_query_grouped_and_sorted_by_category + get :index, :project_id => 1, :set_filter => 1, :group_by => "category", :sort => "category" + assert_response :success + assert_template 'index' + assert_not_nil assigns(:issues) + assert_not_nil assigns(:issue_count_by_group) + end + def test_index_with_query_grouped_by_list_custom_field get :index, :project_id => 1, :query_id => 9 assert_response :success |