Page 1 of 1

print_tickets.inc.php

Posted: Tue Sep 04, 2012 9:16 pm
by steve
Suppose I wanted to change the above mentioned file to limit the ticket list to tickets that are NOT status 5, Under no circumstance do I want tickets with this status to show on the ticket list.

how would I got about doing that?

Re: print_tickets.inc.php

Posted: Wed Sep 05, 2012 10:57 am
by Klemen
Just above

Code: Select all

/* Prepare variables used in search and forms */
you can try adding something like

Code: Select all

$sql .= " AND `status` != '5' ";

Re: print_tickets.inc.php

Posted: Wed Sep 05, 2012 3:35 pm
by steve
Thanks, worked like a charm!