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:
parent
f7662d61ac
commit
e074be0d3f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue