Page MenuHomePhabricator

Sort IP addresses properly in the Special:Investigate Compare results table
Open, Needs TriagePublic

Description

Since T237300, the Compare results table can be sorted by any column, as long as there is only one page of results. This is done using the jquery.tablesorter module.

IPv6 addresses do not yet sort properly, as identified in T237300#6215030.

Two things need to be done to fix this:

  1. Set the sort values for the IP addresses to their hex number representations, instead of their prettified string values (T257349)
  2. Handle hex number sorting in the tablesorter (T255693)

Event Timeline

Change 605330 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/extensions/CheckUser@master] ComparePager: Add sort values to the results for the tablesorter

https://gerrit.wikimedia.org/r/605330