Page MenuHomePhabricator

Restore rowspans and unsorted rows in tablesorter table when returning to initial sort order
Open, Needs TriagePublic

Description

After T226697, clicking on a column header three times will return the column to the initial sort order. Ideally this would also restore any rowspans in the original table. It should also return any rows marked sorttop or sortbottom to their original place.

Currently, these features of the original table can't be restored, since they aren't stored anywhere.

Event Timeline

This comment was removed by Nardog.
Tchanders renamed this task from Restore rowspans in tablesorter table when returning to initial sort order to Restore rowspans and unsorted rows in tablesorter table when returning to initial sort order.Jun 15 2020, 3:00 PM
Tchanders updated the task description. (Show Details)

See T226697#6223462 for examples of affected tables.

We solved T226697 by storing the initial order of the rows that get sorted. To solve this task, we might instead want to store the original table - however, that might be costly for very large tables.