Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi again, I've added a new custom status.
By default the 'resolved' status is unticked in the ticket list so that it doesnt show up...how can I do the same for my new status?
Change default ticked boxes (ticket status)
Moderator: mkoch227
Re: Change default ticked boxes (ticket status)
Did you alter the structure of the Status colum in the ticket table of your DB?
Open hesk/inc/print_tickets.inc.php
change
to
Also, did you try selecting the status's you want as default then under more options check make this my default view then show tickets?
Open hesk/inc/print_tickets.inc.php
change
Code: Select all
if ($tmp == 0 || ($tmp == 6 && !isset($status[3])) )
to
Code: Select all
if ($tmp == 0 || ($tmp == 7 && !isset($status[3])) )
-Steve
Re: Change default ticked boxes (ticket status)
My new status is called enrolled.
By default I want it to be unticked for all users, not just me.
i can't find the line you pasted. I can find the bit before || only:
// Create the SQL based on the number of priorities we need
if ($tmp == 0 || $tmp == 4)
That's all....
By default I want it to be unticked for all users, not just me.
i can't find the line you pasted. I can find the bit before || only:
// Create the SQL based on the number of priorities we need
if ($tmp == 0 || $tmp == 4)
That's all....
Re: Change default ticked boxes (ticket status)
Solved.
Changed:
To:
Where the 6th status is my new one...
Changed:
Code: Select all
// Do we need to search by status?
if ( $tmp < 6 )
{
// If no statuses selected, show default (all except RESOLVED)
if ($tmp == 0)
{
$status = $possible_status;
unset($status[3]);
}
Code: Select all
// Do we need to search by status?
if ( $tmp < 6 )
{
// If no statuses selected, show default (all except RESOLVED)
if ($tmp == 0)
{
$status = $possible_status;
unset($status[3]);
unset($status[6]);
}