aMule Forum

English => en_Bugs => Topic started by: DarkNRG on March 15, 2009, 01:13:51 PM

Title: Downloading files in "Search result" if sort order is "Status"
Post by: DarkNRG on March 15, 2009, 01:13:51 PM
I cannot download more than one search result at once if the sorting order is "Status", because in CSearchListCtrl::DownloadSelected()  the UpdateResult() method resorts / refreshes the result table and therefore looses all selections, so the next call to GetNextItem() inside the loop has nothing to return.

A workaround would be to collect all currently selected files in a vector first via a simple GetNextItem() loop, and then process the files of this vector.

PS: I'm using the SVN version 9505.
Title: Re: Downloading files in "Search result" if sort order is "Status"
Post by: Stu Redman on March 15, 2009, 02:49:24 PM
Fixed in 9515, thank you for reporting!