summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-01-15 16:29:08 +0100
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-01-15 16:29:08 +0100
commit2615a19c0d8d226cb809233a20c8c295f0a355e2 (patch)
tree110bcc6ca2d10ee38e2b373315cb19ab966afee6
parent95e7b1498f2c178383699f8d30208cc326b7a37b (diff)
Internal task ID in calendar data
-rw-r--r--plugins/Calendar/Formatter/TaskCalendarFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Calendar/Formatter/TaskCalendarFormatter.php b/plugins/Calendar/Formatter/TaskCalendarFormatter.php
index 9286eaf8..4d76b21d 100644
--- a/plugins/Calendar/Formatter/TaskCalendarFormatter.php
+++ b/plugins/Calendar/Formatter/TaskCalendarFormatter.php
@@ -70,7 +70,7 @@ class TaskCalendarFormatter extends BaseFormatter implements FormatterInterface
$events[] = array(
'timezoneParam' => $this->timezoneModel->getCurrentTimezone(),
'id' => $task['id'],
- 'title' => t('#%d', $task['id']).' '.$task['title'],
+ 'title' => t('#%d', isset($task['internal_task_id']) ? $task['internal_task_id'] : $task['id']).' '.$task['title'].' ['.$task['project_name'].']',
'backgroundColor' => $this->colorModel->getBackgroundColor($task['color_id']),
'borderColor' => $this->colorModel->getBorderColor($task['color_id']),
'textColor' => 'black',