Changeset 542

Show
Ignore:
Timestamp:
06/06/06 14:56:07
Author:
douglm
Message:

Change svci.getEvents so that selecting a subset of users calendars displays correctly.

Selcting a view does not display 'special' calendars, selecting a folder or individual calendars does display

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/calsvc/src/org/bedework/calsvc/CalSvc.java

    r540 r542  
    20412041                               boolean freeBusy) throws CalFacadeException { 
    20422042    TreeSet ts = new TreeSet(); 
     2043    boolean showAllCalendars = true; 
    20432044 
    20442045    if (sub != null) { 
     
    20622063      } 
    20632064 
     2065      /* Don't show special calendars in views */ 
     2066      showAllCalendars = false; 
    20642067      subs = currentView.getSubscriptions(); 
    20652068    } else { 
     
    21292132    ts.addAll(postProcess(getCal().getEvents(internal, filter, 
    21302133                          startDate, endDate, 
    2131                           recurRetrieval, freeBusy, false), 
     2134                          recurRetrieval, freeBusy, showAllCalendars), 
    21322135              sublookup)); 
    21332136