Bug #6158
closed
diag_dump_states.php & others: Prefixes not taken in to consideration while sorting
Added by Johan Bengtsson about 10 years ago.
Updated almost 10 years ago.
Description
Sorting states on packets or Bytes does not the prefixes in consideration.
Example: Sorting states on Bytes in descending order will tell you that a state with only 128 bytes is larger that 3k bytes.
- Assignee set to Anonymous
- Subject changed from Prefixes not taken in to consideration while sorting to diag_dump_states.php & others: Prefixes not taken in to consideration while sorting
- Status changed from New to Assigned
- Target version set to Future
- Affected Version set to 2.3
A temporary work-around has been provided. The packets, bytes and actions column have been set to be NOT sortable.
This issue requires a better solution in which the data is normalized and added to the <td> via a data-sortable attribute.
e.g.:
<td>23KiB</td>
should become
<td data-sortable="23552"><23KiB</td>
This requires some research/thought since there are a number of affected pages, and several potential formats.
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:106eb8d38db478616499f0c5ee220596dca9f57a.
- Status changed from Feedback to Resolved
- Target version deleted (
Future)
Also available in: Atom
PDF