eTicket Community
September 02, 2010, 02:44:47 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to engage your customers? eTicket  will soon be incorporated into Help Center Live!, the Live Chat leader!
 
   Home   Help Search Login Register  
Quick Register
Choose username  Email                 
Verify password    Choose password 
I agree to Registration Agreement
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Not Closed Status Search  (Read 1889 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: 601


In a world without fences, who needs Gates?


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 Web Design - 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: 601


In a world without fences, who needs Gates?


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 Web Design - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 2.815 seconds with 23 queries.

Google visited last this page Yesterday at 04:04:50 PM