aMule Bug Tracker - aMule
View Issue Details
0000428aMuleTransferpublic2005-05-11 08:282005-05-14 03:43
eyalzo 
Kry 
normalminoralways
resolvedfixed 
2.0.0 
SVN 
0000428: Sorting on the UploadList by Transferred is wrong
Table shows session-transferred, but sort is performed by total-transferred.
See ClientListCtrl.cpp.
Method CUploadingView::DrawCell(), column 4:

case 4:
            buffer = CastItoXBytes(client->GetSessionUp());
            break;

But in method CUploadingView::SortProc():

case 4: return mode * CmpAny( client1->GetTransferedUp(), client2->GetTransferedUp() );

So, sorting should use GetSessionUp() too.
No tags attached.
Issue History
2005-05-11 08:28eyalzoNew Issue
2005-05-14 03:43KryStatusnew => assigned
2005-05-14 03:43KryAssigned To => Kry
2005-05-14 03:43KryStatusassigned => resolved
2005-05-14 03:43KryFixed in Version => CVS
2005-05-14 03:43KryResolutionopen => fixed
2005-05-14 03:43KryNote Added: 0000969

Notes
(0000969)
Kry   
2005-05-14 03:43   
Solved. Many thanks.