mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Calendar - Fix bug where planner by user would not show events with group invitation, planner by category would not show events with sub-categories
This commit is contained in:
parent
53916b71f6
commit
0ac55aad97
@ -1822,6 +1822,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
||||
var event = egw.dataGetUIDdata('calendar::'+data[i]);
|
||||
|
||||
if(!event) continue;
|
||||
events = {};
|
||||
|
||||
// Try to determine rows interested
|
||||
if(event.data && this.grouper)
|
||||
@ -1837,11 +1838,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
||||
{
|
||||
this.cache[id] = [];
|
||||
}
|
||||
if(this.cache[id].indexOf(event.data.row_id) === -1 && (
|
||||
event.data.participants[id] && this.options.group_by === 'user' ||
|
||||
event.data.category === id && this.options.group_by === 'category' ||
|
||||
this.options.group_by === 'month'
|
||||
))
|
||||
if(this.cache[id].indexOf(event.data.row_id) === -1)
|
||||
{
|
||||
this.cache[id].push(event.data.row_id);
|
||||
}
|
||||
@ -1857,7 +1854,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
||||
// Could be an event no row is interested in, could be a problem.
|
||||
// Just redraw everything
|
||||
invalidate = true;
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
// If displaying by category, we need the infolog (or other app) categories too
|
||||
|
Loading…
Reference in New Issue
Block a user