mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
Get rid of sort_helper when using queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -64,8 +64,8 @@ class SortHelperTest < Redmine::HelperTest
|
||||
sort_init 'attr1', 'desc'
|
||||
sort_update({'attr1' => 'table1.attr1', 'attr2' => 'table2.attr2'})
|
||||
|
||||
assert_equal ['table1.attr1 DESC'], sort_clause
|
||||
assert_equal 'attr1:desc', @session['foo_bar_sort']
|
||||
assert_nil sort_clause
|
||||
assert_equal 'invalid_key', @session['foo_bar_sort']
|
||||
end
|
||||
|
||||
def test_invalid_order_params_sort
|
||||
|
||||
Reference in New Issue
Block a user