Possible to change default show ticket status to any?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
code3
Posts: 3
Joined: Thu Feb 23, 2006 4:51 pm

Possible to change default show ticket status to any?

Post by code3 »

Script URL: Internal
Version of script: 0.93.1
Version of PHP: 5.1.1
Hosting company: Internal
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:

First off, I would like to thank the author for a great piece of software. Easy to setup, maintain, and use. Great work!

My question involves the tickets that are displayed on the main page. I would like to have all tickets displayed as the default option, instead of just open tickets. If this is possible, does it matter who is logged in? Any help would be greatly appreciated. Thanks!
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Changing line 39 in file /inc/print_tickets.inc.php from

Code: Select all

if (!isset($_GET['status'])) {$status=1; $sql .= " AND `status`=$status ";}
to

Code: Select all

if (!isset($_GET['status'])) {$status=2;}
should do the trick.

Regards
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
code3
Posts: 3
Joined: Thu Feb 23, 2006 4:51 pm

Post by code3 »

Worked like a charm! Thanks!
code3
Posts: 3
Joined: Thu Feb 23, 2006 4:51 pm

Post by code3 »

Along those same lines. Now that every ticket is displayed, can I order them by open status first. I am able to change the field in which they are ordered by, but I couldnt figure out the asc and desc. When I have it order them by status, the closed ones are at the top. I would like to reverse that by default. Thanks!
Post Reply