View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006732||mantisbt||administration||public||2006-02-20 16:47||2017-01-31 04:02|
|Target Version||2.1.0||Fixed in Version||2.1.0|
|Summary||0006732: Sorting issue lists isn't stable (each sort scrambles previous sort)|
When viewing issues, if I click the "Status" column then everything is sorted by Status (good). If I then click the "P" column, everything is sorted by Priority (good). However, groups of items that are of the same priority do NOT stay sorted by Status (bad).
This behaves as if it were using an unstable sorting algorithm (previously sorted keys are rearranged even if they don't have to be). I know that this doesn't apply with SQL; what you need to do is keep track of the last few columns sorted on, and use a "SORTED BY xxxx, yyyy, zzzz" statement, where "xxxx" is the most recently clicked column, "yyyy" is the column clicked before that, and "xxxx" is the column clicked before THAT.
For example, if I want to go through my bugs by priority, sub-sorted by current status, I'd like to be able to click "Status" and then "P". Can't currently do that.
|Tags||No tags attached.|