aMule Bug Tracker - aMule
View Issue Details
0001030aMuleFeature Requestpublic2006-12-18 11:492008-07-09 16:16
bart9h 
 
normalfeaturealways
closedopen 
2.1.3 
 
Any
0001030: wrong placing of "Unkown" items while sorting of the "Time Remaining" column
On the "Transfers" view, when sorting by the "Time Remaining" column, the user wants to watch the files that will arrive first, so the "Unknown" items should be placed after the others, not before.

The included patch, against the 2.1.3 version, does that.
$diff -u aMule-2.1.3/src/DownloadListCtrl.cpp aMule-2.1.3/src/DownloadListCtrl.cpp.barrett9h
--- aMule-2.1.3/src/DownloadListCtrl.cpp 2006-03-10 02:02:41.000000000 -0300
+++ aMule-2.1.3/src/DownloadListCtrl.cpp.barrett9h 2006-12-18 08:38:05.000000000 -0200
@@ -1909,11 +1909,11 @@
                        if (file2->getTimeRemaining() == -1) {
                                result = 0;
                        } else {
- result = -1;
+ result = 1;
                        }
                } else {
                        if (file2->getTimeRemaining() == -1) {
- result = 1;
+ result = -1;
                        } else {
                                result = CmpAny(
                                        file1->getTimeRemaining(),
No tags attached.
Issue History
2006-12-18 11:49bart9hNew Issue
2006-12-18 11:49bart9hOperating System => Any
2008-07-09 16:16WuischkeStatusnew => closed

There are no notes attached to this issue.