The line number (# column) after a sort should not change

Bug #1333461 reported by Mohammad Banikazemi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stackalytics
New
Undecided
Unassigned

Bug Description

Really a minor issue: The first column in tables with the "#" header should not change after sorting based on another column. Say I want to get the list of Neutron reviewers sorted based on the number of +2 reviews. When I sort the table of reviews, the reviewers retain their row number after the sort. If I want for example the list of top 3 reviewers wrt +2s, the row numbers should appear as 1, 2, and 3 in the example below and not 2, 3, and 9.

Example:

# Engineer Reviews -2 -1 +1 +2 A +/- Disagreements Ratio On review / patch sets Commits Emails
2 Mark McClain (Yahoo!) ✻ 250 28 95 0 127 77 50.8% 4 1.6% 12 / 72 2 0
3 Kyle Mestery (Cisco Systems) ✻ 161 10 21 3 127 51 80.7% 6 3.7% 4 / 22 6 35
9 Oleg Bondarev (Mirantis) ✻ 61 1 18 4 38 10 68.9% 6 9.8% 0 / 0 0 1

I think the list should appear as:

# Engineer Reviews -2 -1 +1 +2 A +/- Disagreements Ratio On review / patch sets Commits Emails
1 Mark McClain (Yahoo!) ✻ 250 28 95 0 127 77 50.8% 4 1.6% 12 / 72 2 0
2 Kyle Mestery (Cisco Systems) ✻ 161 10 21 3 127 51 80.7% 6 3.7% 4 / 22 6 35
3 Oleg Bondarev (Mirantis) ✻ 61 1 18 4 38 10 68.9% 6 9.8% 0 / 0 0 1

Simply the row number should not be part of the table.

Revision history for this message
Yosef Hoffman (yohoffman) wrote :

That column is not simply the row number. It is the rankings for that metric. So when you sort, it will sort that column as well. In your example, Mark has the second most reviews, Kyle has the third most, and Oleg has the ninth most.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.