Project

General

Profile

Defect #43378 » 43378.patch

Go MAEDA, 2025-10-22 06:06

View differences:

app/helpers/queries_helper.rb
227 227
      end
228 228
      content =
229 229
        link_to(
230
          sprite_icon(icon, column.caption),
230
          icon ? sprite_icon(icon, column.caption) : column.caption,
231 231
          {:params => request.query_parameters.deep_merge(sort_param)},
232 232
          link_options
233 233
        )
test/functional/issues_controller_test.rb
1242 1242
      issues_in_list
1243 1243
    )
1244 1244
    assert_select 'table.issues.sort-by-tracker.sort-asc'
1245

  
1246
    # Ensure that only the primary sort key column has a sort order icon
1247
    assert_select 'th.tracker svg', 1
1248
    css_select('table.issues th:not(.tracker)').each do |th|
1249
      assert_select th, 'svg', 0
1250
    end
1245 1251
  end
1246 1252

  
1247 1253
  def test_index_sort_by_field_not_included_in_columns
(4-4/4)