Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Mark ticket as answered

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=answered
This options seems to be gone in v.1.10 :-( Our worklfow for delaying tickets (http://osticket.com/forum/discussion/89212/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[$status->getState()]['icon'] ?: '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['status_id'] == '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?


Comments

Sign In or Register to comment.