From: znek Date: Fri, 22 Oct 2004 16:16:44 +0000 (+0000) Subject: bugfixes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e9c2deeabde43f42a5d5b87a80664816b6c84e8;p=scalable-opengroupware.org bugfixes git-svn-id: http://svn.opengroupware.org/SOGo/trunk@420 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/UI/Mailer/ChangeLog b/SOGo/UI/Mailer/ChangeLog index dc17567c..e5fca484 100644 --- a/SOGo/UI/Mailer/ChangeLog +++ b/SOGo/UI/Mailer/ChangeLog @@ -1,5 +1,7 @@ 2004-10-22 Marcus Mueller + * UIxMailListView.wox: bugfixes (v0.9.43) + * v0.9.42 * UIxMailListView.wox: sorting, proper handling of sort keys. diff --git a/SOGo/UI/Mailer/UIxMailListView.m b/SOGo/UI/Mailer/UIxMailListView.m index cc5c9230..61b36667 100644 --- a/SOGo/UI/Mailer/UIxMailListView.m +++ b/SOGo/UI/Mailer/UIxMailListView.m @@ -127,7 +127,12 @@ static int attachmentFlagSize = 8096; } - (BOOL)isSortedDescending { - return [[[self context] request] formValueForKey:@"desc"] ? YES : NO; + NSString *desc; + + desc = [[[self context] request] formValueForKey:@"desc"]; + if(!desc) + return NO; + return [desc boolValue] ? YES : NO; } - (NSString *)imap4SortOrdering { diff --git a/SOGo/UI/Mailer/UIxMailListView.wox b/SOGo/UI/Mailer/UIxMailListView.wox index 21456504..7d800cf6 100644 --- a/SOGo/UI/Mailer/UIxMailListView.wox +++ b/SOGo/UI/Mailer/UIxMailListView.wox @@ -34,19 +34,31 @@ - + - + - + @@ -58,6 +70,7 @@ @@ -66,6 +79,7 @@ @@ -97,6 +112,7 @@ @@ -135,6 +152,7 @@