Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

2508 Posts in 651 Topics- by 1319 Members - Latest Member: jwalkerjr

eTicket CommunitySupportTips & Tricks (Moderators: jason, Hummdis)Topic: [SOLVED] Not Closed Status Search
Pages: [1]   Go Down
Print
Author Topic: [SOLVED] Not Closed Status Search  (Read 1442 times)
0 Members and 1 Guest are viewing this topic.
AdrianNaegeli
New Member
*

Karma: +0/-0
Offline Offline

Posts: 2


« on: March 22, 2009, 03:55:26 AM »

Hello,

I would like to know if there is a way to implement in the Show Ticket a option "Not Closed". That would be great if you have a lot of tickets. You can show all opend tickets in one Click.

Thanks a lot.
Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 558



WWW
« Reply #1 on: March 23, 2009, 03:47:10 AM »

Have you looked at the "View Open" option?  That shows you all tickets that are currently open excluding the ones that are awaiting answers from customers.

Also, see this post.  Someone has already posted a tip on doing this...please search the forums before posting.
« Last Edit: March 23, 2009, 03:49:04 AM by Hummdis » Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Communications - Freelance Website Design & IT Consulting
lela
New Member
*

Karma: +1/-0
Offline Offline

Posts: 1


« Reply #2 on: March 23, 2009, 11:07:55 PM »

You can change your all status view for just see your not closed tickets.

/inc/main.php

change :

//the default is to read 'open' tickets - no more.
if (!isset($_SESSION['view']['status'])) {
    if ($_SESSION['user']['type'] == 'admin') $_SESSION['view']['status'] = 'all';
    if ($_SESSION['user']['type'] == 'client') $_SESSION['view']['status'] = 'all';

AND ADD :


//get a list of tickets as per query

if ($sql = mysql_query($query)) {
    while ($result = mysql_fetch_array($sql)) {
        if ($status == 'all')
{
if ($result['status'] != 'closed')


                $results[] = $result;
        }
        elseif ($status == 'open')
        {
        if ($result['status'] == 'new' || $result['status'] == 'custreplied') { //filter by status (now we have answered)
                $results[] = $result;
                }
        }
        else
        {       if ($result['status'] == $status) { //filter by status (now we have answered)
                $results[] = $result;               
}}}}


After that when you log in admin interface, you just see your "Not closed" ticket, it's work i use this for my support ticket.
« Last Edit: March 24, 2009, 08:20:26 AM by Hummdis » Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 558



WWW
« Reply #3 on: March 24, 2009, 09:19:38 AM »

Thanks lela!  Great post!

This thread has been moved to the tips/tricks section since it's not really a support question, but a mod.
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Communications - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
Print
eTicket CommunitySupportTips & Tricks (Moderators: jason, Hummdis)Topic: [SOLVED] Not Closed Status Search
Jump to: