@@ -108,6 +108,12 @@ $this->addBreadcrumb($this->getTitle()); | |||
return Html::a($ticket->subject, ['support/view', 'id' => $ticket->id]); | |||
} | |||
], | |||
[ | |||
'label' => 'Messages', | |||
'value' => function ($ticket) { | |||
return count($ticket->ticketMessages); | |||
} | |||
], | |||
[ | |||
'attribute' => 'status', | |||
'filter' => [Ticket::STATUS_OPEN => 'Ouvert', Ticket::STATUS_CLOSED => 'Fermé'], |