1
0
Fork 0
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:
Mitchell Livingston 2007-04-12 13:49:01 +00:00
parent c6250b07a5
commit e09d87cb4a

View file

@ -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];
}