In v1.9 it was possible to simply mark an ticket as anwered by pressing a button.The link was/scp/tickets.php?id=TICKETID&a=process&do=answeredThis options seems to be gone in v.1.10 :-( Our worklfow for delaying tickets (http://forum.osticket.com/d/discussion//best-practice-for-delaying-tickets) does not work anymore. So I have done a quick and dirty hack modifing include\staff\template\status-options.tmpl.php adding after the foreach ($nextStatuses as $status) loop
<li>
<a class="no-pjax <?php
echo $ticket? 'ticket-action' : 'tickets-action'; ?>" href="<?php
echo sprintf('#%s/status/answered/1',
$ticket ? ('tickets/'.$ticket->getId()) : 'tickets'); ?>"><i class="<?php
echo $actions ?: 'icon-tag';
?>"></i> Answered</a>
</li>
editing
include\ajax.tickets.php adding the following to changeTicketStatus
case 'answered':
$state = 'answered';
break;
and adding to function setTicketStatus function the following
if ($_POST == 'answered')
{
return $ticket->setState('answered');
}
It works so far but it is very ugly.For what reason was this feature removed? Is there any change that this feature will be available again?