View Issue Details

IDProjectCategoryView StatusLast Update
0006732mantisbtadministrationpublic2017-01-31 04:02
Reporterdtgriscom Assigned Tocproensa  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc5 
Target Version2.1.0Fixed in Version2.1.0 
Summary0006732: Sorting issue lists isn't stable (each sort scrambles previous sort)
Description

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.

Additional Information

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.

TagsNo tags attached.

Relationships

related to 0007708 closedcproensa Feature: multiple sorting of problem informations 
child of 0021935 closedcproensa Filter api refactoring, manage stored filters 

Activities

cproensa

cproensa

2016-10-17 18:16

developer   ~0054260

track as worked in PR 862