]> err.no Git - scalable-opengroupware.org/commitdiff
reversed filter logic
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 19 Jul 2005 11:21:39 +0000 (11:21 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 19 Jul 2005 11:21:39 +0000 (11:21 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@824 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/UI/Scheduler/ChangeLog
SOGo/UI/Scheduler/UIxCalView.m
SOGo/UI/Scheduler/Version

index f346ac44d6ac48b7d549860b7b945da7ec975119..ee6dad0e994591353b0034e8dc8aeca5c9f42171 100644 (file)
@@ -1,5 +1,10 @@
 2005-07-19  Marcus Mueller  <znek@mulle-kybernetik.com>
 
+       * v0.9.140
+
+       * UIxCalView.m: reversed shouldAdd logic in filterAppointments to do
+         the right thing ...
+
        * v0.9.139
 
        * UIxAppointmentEditor.m: fixed automatic participants addition
index 692efd77177af808aaf57c430676cdfd88b833fc..2bf44d1f627fdbc16d863a284a04f156b3bb3f53 100644 (file)
@@ -95,7 +95,7 @@ static BOOL shouldDisplayWeekend = NO;
     unsigned     p, pCount;
     BOOL         shouldAdd;
     
-    shouldAdd = NO;
+    shouldAdd = YES;
     info      = [_apts objectAtIndex:i];
     partmails = [[info objectForKey:@"partmails"]
                        componentsSeparatedByString:@"\n"];
@@ -111,8 +111,8 @@ static BOOL shouldDisplayWeekend = NO;
         partstates = [[info objectForKey:@"partstates"]
                             componentsSeparatedByString:@"\n"];
         state      = [partstates objectAtIndex:p];
-        if ([state intValue] != iCalPersonPartStatDeclined)
-          shouldAdd = YES;
+        if ([state intValue] == iCalPersonPartStatDeclined)
+          shouldAdd = NO;
         break;
       }
     }
index 6b80c214d55610e8160e3d6474caf88b33288281..776e658bdfbec8fb6e592ae0f0b70cb81bea4663 100644 (file)
@@ -1,6 +1,6 @@
 # Version file
 
-SUBMINOR_VERSION:=139
+SUBMINOR_VERSION:=140
 
 # v0.9.136 requires SOGoUI       v0.9.30
 # v0.9.123 requires Appointments v0.9.35