Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15377829
D16296.id39193.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
D16296.id39193.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
@@ -275,19 +275,18 @@
}
if ($event->getIsGhostEvent()) {
- $title_text = $event->getMonogram()
- .' ('
- .$event->getSequenceIndex()
- .'): '
- .$event->getName();
+ $monogram = $event->getParentEvent()->getMonogram();
+ $index = $event->getSequenceIndex();
+ $monogram = "{$monogram}/{$index}";
} else {
- $title_text = $event->getMonogram().': '.$event->getName();
+ $monogram = $event->getMonogram();
}
$item = id(new PHUIObjectItemView())
->setUser($viewer)
->setObject($event)
- ->setHeader($title_text)
+ ->setObjectName($monogram)
+ ->setHeader($event->getName())
->setHref($event->getURI())
->addAttribute($event_date_info);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 10:56 AM (3 w, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7654975
Default Alt Text
D16296.id39193.diff (1 KB)
Attached To
Mode
D16296: Make ghost event instances render better on the event list
Attached
Detach File
Event Timeline
Log In to Comment