Exposed sorts break custom style plugin sorting

Created on 7 June 2013, over 11 years ago
Updated 25 January 2023, almost 2 years ago

Reported for D7 Views here: #1333932: Sorting in table doesn't work when sort criteria is exposed โ†’

The only core implementation of custom style plugin sorting is Table's clicksort. If you expose any sort handlers, clicksort stops working.

Here's the fix, this needs tests.

This will need a reroll when #2002388: Rename Views method build_sort() to buildSort() โ†’ goes in.

๐Ÿ› Bug report
Status

Needs work

Version

9.5

Component
Viewsย  โ†’

Last updated about 1 hour ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States tim.plunkett Philadelphia

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • VDC

    Related to the Views in Drupal Core initiative.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024