Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have a table view that's user sortable (table column heading clicks) but the sort settings disappear when Search exposed filter is applied.
Steps to reproduce:
Create a view with a Table style
Make some columns Sortable (column headers clickable)
Create some exposed filters (search/select lists)
Sort by clicking on one of the column headers (watch the url is updated and all looks fine)
Now click on the Apply button for the exposed filters and see the "sort" and "order" parameters in the url disappear, i.e. sorting disappears
Shouldn't the exposed filter Apply button carry over the sorting?
Comment | File | Size | Author |
---|---|---|---|
#1 | 1259386-exposed-table-sort.patch | 683 bytes | dawehner |
Comments
Comment #1
dawehnerThis kind of patch should work on drupal7, but it doesn't.
Comment #2
jvdurme CreditAttribution: jvdurme commentedHave you tried this fix?
#1188828: Exposed filters mess up click sortable columns
Comment #3
rumpus.brannigan CreditAttribution: rumpus.brannigan commentedI now tried that patch (adapted it to 6.x-2.12) but to no avail. But looks like http://drupal.org/node/1188828#comment-4712450 in your thread is mentioning the exact same problem with sort order disappearing.
Still looking for a solution.
Comment #4
MustangGB CreditAttribution: MustangGB commented