Hi everybodyI edited tickets.inc.php to add a new column for Ticket Status. Here is diff code:--- ./tickets.inc.php 2015-08-19 16.000000000 +0200+++ ./tickets.inc.php 2016-05-16 12.000000000 +0200@@ -398,12 +398,18 @@ title="<?php echo sprintf(__('Sort by %s %s'), __("Closing Agent's Name"), __($negorder)); ?>"><?php echo __('Closed By'); ?></a></th> <?php } else { //assigned to ?>+ <th width="50">+ <a <?php echo $stat_sort; ?> href="tickets.php?sort=status&order=<?php echo $negorder;?><?php echo $qstr; ?>"+ title="<?php echo sprintf(__('Sort by %s %s'), __('Status'), __($negorder)); ?>"><?php echo __('Status');?></a></th> <th width="150"> <a <?php echo $assignee_sort; ?> href="tickets.php?sort=assignee&order=<?php echo $negorder; ?><?php echo $qstr; ?>" title="<?php echo sprintf(__('Sort by %s %s'), __('Assignee'), __($negorder)); ?>"><?php echo __('Assigned To'); ?></a></th> <?php } } else { ?>+ <th width="50">+ <a <?php echo $stat_sort; ?> href="tickets.php?sort=status&order=<?php echo $negorder;?><?php echo $qstr; ?>"+ title="<?php echo sprintf(__('Sort by %s %s'), __('Status'), __($negorder)); ?>"><?php echo __('Status');?></a></th> <th width="150"> <a <?php echo $dept_sort; ?> href="tickets.php?sort=dept&order=<?php echo $negorder;?><?php echo $qstr; ?>" title="<?php echo sprintf(__('Sort by %s %s'), __('Department'), __($negorder)); ?>"><?php echo __('Department');?></a></th>@@ -427,6 +433,7 @@ elseif($row) $flag='overdue'; + $plc=Format:($row,40); $lc=''; if($showassigned) { if($row)@@ -491,6 +498,7 @@ <?php } ?>+ <td nowrap> <?php echo $plc; ?></td> <td nowrap> <?php echo $lc; ?></td> </tr> <?php
[osticket_parche_estados_Tickets.rar](https://forum.osticket.com/assets/files/migrated/FileUpload/57/2b83419647db64970f7b7f24a4b512.rar)
[osticket_parche_estados_Tickets.zip](https://forum.osticket.com/assets/files/migrated/FileUpload/0a/78238ba98997c94bb715afc1d6c171.zip)