rem: filter = this.calendar.ITEM_FILTER_COMPLETED_ALL; 
add: filter |= this.calendar.ITEM_FILTER_COMPLETED_ALL; 
context: function refreshCalendarQuery(){    var filter = this.calendar.ITEM_FILTER_CLASS_OCCURRENCES;    if (document.getElementById("completed-tasks-checkbox").checked) {        filter = this.calendar.ITEM_FILTER_COMPLETED_ALL;    } else {        filter = this.calendar.ITEM_FILTER_COMPLETED_NO;    }    if (!this.filterType)        this.filterType = 'all';    switch (this.filterType) {        case 'all':             filter |= this.calendar.ITEM_FILTER_TYPE_EVENT |                      this.calendar.ITEM_FILTER_TYPE_TODO;            break;        case 'events':            filter |= this.calendar.ITEM_FILTER_TYPE_EVENT;            break;        case 'tasks':            filter |= this.calendar.ITEM_FILTER_TYPE_TODO;            break;    }    this.periods.forEach(function (p) { p.events = []; });    this.calendar.getItems(filter, 0, this.today.start, this.soon.end,                           this.calendarOpListener);};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/2dc18557da8704f26bdb9a1fa4dd5e1800c3dbcc/agenda-tree.js/clean/calendar/lightning/content/agenda-tree.js