| @@ -67,9 +67,9 @@ | ||
| 67 | 67 | if(empty($data[$dataKey])) { |
| 68 | 68 | return $matches[0]; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - if ($dataKey == 'customer' || $dataKey == 'agent') { | |
| 71 | + if ($dataKey == 'customer' || $dataKey == 'agent' || $dataKey == 'assigner') { | |
| 72 | 72 | return $this->getPersonValue($data[$dataKey], $valueKey, $defaultValue); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | if($dataKey == 'ticket') { |
| @@ -99,8 +99,12 @@ | ||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | if($valueKey == 'admin_url') { |
| 102 | 102 | return Helper::getTicketAdminUrl($ticket); |
| 103 | + } | |
| 104 | + | |
| 105 | + if($valueKey == 'public_id') { | |
| 106 | + return $ticket->display_ticket_number; | |
| 103 | 107 | } |
| 104 | 108 | |
| 105 | 109 | $accesors = ['id', 'title', 'content', 'priority', 'client_priority', 'status', 'created_at']; |
| 106 | 110 | if(in_array($valueKey, $accesors)) { |