Page MenuHomePhabricator

D13764.diff
No OneTemporary

D13764.diff

diff --git a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
@@ -287,10 +287,21 @@
$event->getDuration());
}
+ if ($event->getIsGhostEvent()) {
+ $title_text = $event->getMonogram()
+ .' ('
+ .$event->getSequenceIndex()
+ .'): '
+ .$event->getName();
+ } else {
+ $title_text = $event->getMonogram().': '.$event->getName();
+ }
+
$item = id(new PHUIObjectItemView())
->setUser($viewer)
->setObject($event)
- ->setHeader($viewer->renderHandle($event->getPHID())->render())
+ ->setHeader($title_text)
+ ->setHref($event->getURI())
->addAttribute($event_date_info)
->addAttribute($attendees)
->addIcon('none', $duration);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 5, 9:46 PM (2 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717543
Default Alt Text
D13764.diff (1 KB)

Event Timeline