print_tickets.inc.php

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
steve
Posts: 147
Joined: Tue Mar 27, 2012 9:32 pm

print_tickets.inc.php

Post 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?
-Steve
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: print_tickets.inc.php

Post 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' ";
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
steve
Posts: 147
Joined: Tue Mar 27, 2012 9:32 pm

Re: print_tickets.inc.php

Post by steve »

Thanks, worked like a charm!
-Steve
Post Reply