Sort by bugID is broken
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
People
(Reporter: lizzard, Unassigned)
Details
Sorting in list view by bugID is sorting incorrectly. (Using Nightly)
Comment 1•5 years ago
|
||
I will need to install Nightly to confirm but sorts fine in release version. What is the actual behavior on Nightly? Does it generate an error in the console? bug_list.cgi uses an older sorttable.js lib which is planned to be replaced in the near future.
Comment 2•5 years ago
|
||
It’s working for me with a bug list including 5, 6 and 7 digit bug IDs. Note that the sorting arrow on the header (▲) behaves weirdly, which is not a Nightly-specific issue.
Reporter | ||
Comment 3•5 years ago
|
||
In the list I'm looking at, bug 981242 sorts as higher than bug 1600899.
Reporter | ||
Comment 4•5 years ago
|
||
Interesting: this list, with some random numbers, sorts correctly. https://bugzilla.mozilla.org/buglist.cgi?quicksearch=90000%2C%2095688%2C%2081234%2C%20160008%2C%20151413&list_id=15019147
But my earlier list with all sec bugs did not sort correctly, from this query (which now no longer has the same bugs in it) https://bugzilla.mozilla.org/buglist.cgi?quicksearch=group%3Acore-security%20-kw%3Asec-&order=Last%20Changed&list_id=15019161
Dan, didn't you say you were seeing this issue too? Maybe the "last changed" field of the query is the culprit.
Comment 5•5 years ago
|
||
(In reply to Kohei Yoshino [:kohei] from comment #2)
Note that the sorting arrow on the header (▲) behaves weirdly, which is not a Nightly-specific issue.
Yes, it was the Javascript sorting using the headers, not the initial BMO sort, that was incorrect. I can't reproduce it anymore with a literal list like the one Liz gave in comment 4. Huh.
Comment 6•5 years ago
|
||
Then I loaded Liz's 2nd query in comment 4, changed the parameters to find more bugs (changed "-kw:sec-" to "kw:sec-moderate"), and then I could reproduce. And then I copied the query to a new window and I couldn't reproduce...
Comment 2 sounds like you know what's going on, so maybe this is a dupe.
Description
•