1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-18 10:41:08 +01:00

Calendar events in month view should display event names instead of "Away" summary

Summary: Closes T8137, Calendar events in month view should display event names instead of "Away" summary

Test Plan: Open month view in Calendar, all events should display as their actual names.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T8137

Differential Revision: https://secure.phabricator.com/D12790
This commit is contained in:
lkassianik 2015-05-10 10:40:55 -07:00
parent f7662d61ac
commit e074be0d3f

View file

@ -363,7 +363,7 @@ final class PhabricatorCalendarEventSearchEngine
$event->setEpochRange($status->getDateFrom(), $status->getDateTo()); $event->setEpochRange($status->getDateFrom(), $status->getDateTo());
$name_text = $handles[$status->getUserPHID()]->getName(); $name_text = $handles[$status->getUserPHID()]->getName();
$status_text = $status->getHumanStatus(); $status_text = $status->getName();
$event->setUserPHID($status->getUserPHID()); $event->setUserPHID($status->getUserPHID());
$event->setDescription(pht('%s (%s)', $name_text, $status_text)); $event->setDescription(pht('%s (%s)', $name_text, $status_text));
$event->setName($status_text); $event->setName($status_text);