Fix sort projects table by custom field (#32769).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19421 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-01-12 07:03:10 +00:00
parent d618229f09
commit a853fc0e73
3 changed files with 27 additions and 4 deletions

View File

@@ -58,6 +58,6 @@ class ProjectQueryTest < ActiveSupport::TestCase
def test_available_columns_should_include_project_custom_fields
query = ProjectQuery.new
assert_include :"project.cf_3", query.available_columns.map(&:name)
assert_include :cf_3, query.available_columns.map(&:name)
end
end