View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011442 | MMW v4 | Framework: Scripts/Extensions | public | 2013-11-01 21:32 | 2013-11-01 21:32 |
Reporter | zvezdan | Assigned To | |||
Priority | none | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0011442: AddTracksFromQuery cannot reset manual sorting in filelist [MM4] | ||||
Description | If I create custom node that has SDB.MainTracksWindow.AddTracksFromQuery in OnFillTracks event handler with e.g. "WHERE 1 ORDER BY Genre, Artist, Album" I will get filelist sorted by those 3 sort keys as long as I don't click on the filelist column header to manually set some another sorting. If I manually change sorting order in MM3 and if I choose some another node and select my custom node again I would get the programatically set sorting. However, in MM4 if I chose another node and select my custom node again I would get the last manually set sorting. I will get that manually set sorting even if I programmatically remove and create new node with the same caption. I tried to set SortGroup = 0 and SortCriteria = 0 to my node in OnFillTracks event handler, but without any effect, i.e. MM4 always displays manually set sorting. Maybe it is practical that the program itself remembers manually set filelist's sorting, but sometimes it is not desirable. You should at least add some new method which could be used to reset sorting order in filelist. By the way, what is a difference between those SortGroup and SortCriteria properties? Their description in wiki is almost identical and not very helpful. | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||