I've dug deep in the forums and finally found a hack that is compatible with the most recent versions. So here is how to do it yourself until Kayako feels that this is a good option to have coded in:
- Go to your supportsuite folder and go into the modules folder.
- Select the functions_ticketmain.php and open for editing (im using VS 2005 but i believe wordpad still provides same functionality)
- Do an edit->find (or quick find if using VS 2005)
- Search for Change (you may have to skip a few ones)
- locate the line that says:* Change Status for the given ticket
*/ - Scroll only a tiny bit down until you see the string of code that says: $this->updatesql[] = "`ticketstatusid` = '". intval($ticketstatusid) ."'";
- Then either copy and paste these items or edit your own using the same format but replace the obvious "Closed" or "On Hold" sections with your own created statuses. here is the hack:
if ( $_SWIFT["statuscache"][$ticketstatusid]["title"] == "Closed") //the new status
{
$this->clearDue();
}
if ( $_SWIFT["statuscache"][$ticketstatusid]["title"] == "On Hold") //the new status
{
$this->clearDue();
}
The function noted as clearDue() is a php code seen earlier in the file that clears the duetime to 0 within the sql table to that particular ticket. This is what occurs when you do a postreply.
This has been tested and works in V3.00.32 - V3.00.90 CVS