Skip to content

Commit 68e00da

Browse files
committed
Patch: Double comment counter in ticket list
1 parent ea7d923 commit 68e00da

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Controllers/TicketsController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,6 @@ public function renderTicketTable($collection)
252252

253253
if($ticket->hidden) $field.= '<span class="fa fa-eye-slash tooltip-info tickethidden" data-toggle="tooltip" title="'.trans('panichd::lang.ticket-hidden').'" style="margin: 0em 0.5em 0em 0em;"></span>';
254254

255-
if ($ticket->recent_comments_count>0){
256-
$field.=$ticket->recent_comments_count.' ';
257-
}
258255
if ($ticket->comments_count>0){
259256
$field.=$ticket->comments_count . ' <span class="fa fa-comments tooltip-info comment" title="'.trans('panichd::lang.table-info-comments-total', ['num'=>$ticket->comments_count]).($ticket->recent_comments_count>0 ? ' '.trans('panichd::lang.table-info-comments-recent', ['num'=>$ticket->recent_comments_count]) : '').'"></span>';
260257
}

0 commit comments

Comments
 (0)