[CalendarServer-changes] [7824] CalendarServer/trunk/twistedcaldav/instance.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 25 07:34:41 PDT 2011


Revision: 7824
          http://trac.macosforge.org/projects/calendarserver/changeset/7824
Author:   cdaboo at apple.com
Date:     2011-07-25 07:34:41 -0700 (Mon, 25 Jul 2011)
Log Message:
-----------
Fix VTODO indexing when only COMPLETED is present.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/instance.py

Modified: CalendarServer/trunk/twistedcaldav/instance.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/instance.py	2011-07-25 14:33:44 UTC (rev 7823)
+++ CalendarServer/trunk/twistedcaldav/instance.py	2011-07-25 14:34:41 UTC (rev 7824)
@@ -258,7 +258,7 @@
             dtcompleted = component.getCompletedDateUTC()
             if dtcompleted:
                 end = dtcompleted
-                start = dtcreated if dtcreated else dtend
+                start = dtcreated if dtcreated else end
             elif dtcreated:
                 start = dtcreated
                 end = maxDateTime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110725/d954af65/attachment.html>


More information about the calendarserver-changes mailing list