mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
Calendar event list items 'Attending:' field should only show users who have confirmed attendance
Summary: Fixes T8897 Test Plan: Open any list view of Calendar events, every event should only show "Attending: ..." with users who are attending event. Reviewers: chad, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Maniphest Tasks: T8897 Differential Revision: https://secure.phabricator.com/D15779
This commit is contained in:
parent
fb2b88a4a8
commit
bd8969a23c
1 changed files with 4 additions and 1 deletions
|
@ -271,8 +271,11 @@ final class PhabricatorCalendarEventSearchEngine
|
|||
$attendees = array();
|
||||
|
||||
foreach ($event->getInvitees() as $invitee) {
|
||||
$status_attending = PhabricatorCalendarEventInvitee::STATUS_ATTENDING;
|
||||
if ($invitee->getStatus() === $status_attending) {
|
||||
$attendees[] = $invitee->getInviteePHID();
|
||||
}
|
||||
}
|
||||
|
||||
if ($event->getIsGhostEvent()) {
|
||||
$title_text = $event->getMonogram()
|
||||
|
|
Loading…
Reference in a new issue