Defect #43378 » 43378.patch
| app/helpers/queries_helper.rb | ||
|---|---|---|
|
end
|
||
|
content =
|
||
|
link_to(
|
||
|
sprite_icon(icon, column.caption),
|
||
|
icon ? sprite_icon(icon, column.caption) : column.caption,
|
||
|
{:params => request.query_parameters.deep_merge(sort_param)},
|
||
|
link_options
|
||
|
)
|
||
| test/functional/issues_controller_test.rb | ||
|---|---|---|
|
issues_in_list
|
||
|
)
|
||
|
assert_select 'table.issues.sort-by-tracker.sort-asc'
|
||
|
# Ensure that only the primary sort key column has a sort order icon
|
||
|
assert_select 'th.tracker svg', 1
|
||
|
css_select('table.issues th:not(.tracker)').each do |th|
|
||
|
assert_select th, 'svg', 0
|
||
|
end
|
||
|
end
|
||
|
def test_index_sort_by_field_not_included_in_columns
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »