Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14069575
D13764.id33241.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13764.id33241.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 8:27 AM (22 h, 1 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717543
Default Alt Text
D13764.id33241.diff (1 KB)
Attached To
Mode
D13764: Calendar list objects that are ghost events should link to a ghost event, not the parent
Attached
Detach File
Event Timeline
Log In to Comment