mirror of
https://github.com/transmission/transmission
synced 2025-02-02 12:32:54 +00:00
get real date for sort
This commit is contained in:
parent
c6250b07a5
commit
e09d87cb4a
1 changed files with 1 additions and 1 deletions
|
@ -1435,7 +1435,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
}
|
||||
else if ([fSortType isEqualToString: @"Date"])
|
||||
{
|
||||
NSSortDescriptor * dateDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"date" ascending: YES] autorelease];
|
||||
NSSortDescriptor * dateDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"dateAdded" ascending: YES] autorelease];
|
||||
|
||||
descriptors = [[NSArray alloc] initWithObjects: dateDescriptor, orderDescriptor, nil];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue