I would like to have department shown in the open ticket view for the staff control panel, I could have sworn that this was the case before i messed with some settings. The attached screen shots show what my open ticket page looks like, as well as my ticket settings and my server information. I appreicate whatever help i can get. blankblankblank

Department has never been a field on that screen.... since generally speaking people wouldn't be able to see the ticket if it was assigned to a department that they didn't have access to anyway.You would have to alter the source to add it, or wait for 1.11 to be released which will include the Custom Queues feature.

Okay, i had this modification working on 1.9.8.1. Is there a similar modification to tickets.inc.php for v1.10? I looked at the 1.9 & 1.10 tickets.inc.php files side by side and they were quite different so I'm not sure if someone else has achieved this yet. This is essential to what I implementing OSticket to do (this is not a regular ticket system, this has a 3D printing application spin) so if i have to go back to 1.9.8.1 i will.And if certain staff users were not able to see the department couldn't i simply give them all access to all of the departments?

Search "A better ticket list"http://forum.osticket.com/d/discussion//a-better-ticket-listIf there is a solution for 1.10 it's in that thread.

Thank you very much ntozier. Is there hope for this feature in newer versions? Because it looks like it is included in tickets.inc.php ( I don't know anything about php )blank

As I said, the Custom Queues feature is supposed to be released in 1.11.

14 days later

Hi tomcoppola,I did this for my installation.  It's rather simple.  BEFORE YOU BEGIN, MAKE SURE YOU BACK UP YOUR HTML DIRECTORY.First, find this section of code in tickets.inc.php: <?php            // Swap some columns based on the queue.            if ($showassigned ) {                unset($queue_columns);                if (!strcasecmp($status,'closed'))                    $queue_columns =  __('Closed By');                else                    $queue_columns =  __('Assigned To');            } else {                unset($queue_columns);            }Add a double slash before the  so it looks like this://unset($queue_columns);This will make the column show up in the list of headers.  However, you need to go head and add the td to table as well.  So, find this section of code in tickets.inc.php:<td class="nohover" align="center"                    style="background-color:<?php echo $T; ?>;">                    <?php echo $T; ?></td>                <td nowrap><span class="truncate" style="max-width: 169px"><?php                    echo Format:($lc); ?></span></td>                <td><?php echo $T;?></td>            </tr>Right above the </tr>, add:                <td><?php echo $T;?></td>I hope this helps.  

2 months later

You're awesome!   Thank you very much for sharing this fix. 

Write a Reply...