ALF-9156 tweak for listing events with no search start range

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-07-21 10:51:15 +00:00
parent 6b7ba3f6c1
commit 917eb735e6

View File

@@ -295,6 +295,12 @@ public class UserCalendarEntriesGet extends AbstractCalendarWebScript
return false;
}
// If no date is given, start looking for occurrences from the event itself
if(from == null)
{
from = entry.getStart();
}
// Should we limit ourselves?
Date until = null;
if(!repeatingFirstOnly)