Tablesorter on the DataTables Appends Extra Row When Sorting
Bug #1013472 reported by
John Postlethwait
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Gabriel Hurley |
Bug Description
Repro:
Go to Instances and Volumes
Create a Volume.
Let the volume spin up and become available.
Sort the table by the size column by clicking on the Size column header.
Expected:
The table sorts by the size column.
Actual:
An extra, duplicate row, representing the "creating" status row for the volume you just created, is added to the table, and it is not sorted correctly with the rest of the results.
Changed in horizon: | |
assignee: | nobody → Nebula (nebula) |
status: | New → Confirmed |
Changed in horizon: | |
importance: | Undecided → Low |
milestone: | none → folsom-3 |
Changed in horizon: | |
status: | Confirmed → In Progress |
assignee: | Nebula (nebula) → Gabriel Hurley (gabriel-hurley) |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | folsom-3 → 2012.2 |
To post a comment you must log in.
The tablesorter plugin's data cache isn't getting updated as the row changes (and is replaced in the DOM). Just need to update the cache before/when sorting.