Calendar - fix status filter for planner by user view

This commit is contained in:
nathangray 2019-01-11 14:01:49 -07:00
parent 43d226b646
commit 61d0e9874f

View File

@ -485,6 +485,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
} }
} }
if(participant && label_index !== false && status_to_show.indexOf(participant.substr(0,1)) >= 0 || if(participant && label_index !== false && status_to_show.indexOf(participant.substr(0,1)) >= 0 ||
!participant && label_index !== false ||
this.options.filter === 'owner' && event.owner === user) this.options.filter === 'owner' && event.owner === user)
{ {
if(typeof rows[label_index] === 'undefined') if(typeof rows[label_index] === 'undefined')