ACCORD5
Add a reply

ACCORD5 Company Forums » Trellis Desk » Peer-to-Peer Support

Show only Non Closed tickets in HelpDesk

 
  • Started 1 year ago by abeltran
  • 1 post in this topic
  1. User has not uploaded an avatar

    abeltran

    offline
    Member

    I believe someone had asked about this but got no reply...

    In the main HelpDesk page, the member is shown the last 8 tickets, regardless of their status.
    I found it more suitable to show only non-closed tickets.
    Here is the MOD:

    File: \sources\portal.php
    Function : auto_run

    Line 71:
    Original:
    'where' => array( 'mid', '=', $this->ifthd->member['id'] ),

    Change to:
    'where' => array( array( 'mid', '=', $this->ifthd->member['id'] ), array( 'status', 'in', array( '(',1,2,4,5,')' ), 'and' ) ),

    *********************************************************************************

    You can change the values in the array to show different status in case you want to exclude (or include ) other ones.
    If anyone finds an error or a better way of doing this, please let us all know.

    Regards,
    Andres

    Posted 1 year ago #

RSS feed for this topic

Reply to this topic

You must log in to post.