Tickets List - Change Column Order

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Lukosius
Posts: 3
Joined: Wed Jun 16, 2021 5:04 am

Tickets List - Change Column Order

Post by Lukosius »

Hi there,
We want to change the order (left to right) of the columns in the Ticket List.
I have found where these can be re-ordered in "inc/ticket_list.inc.php"

However I have two questions:
1. How do I change the order of the column headers to match?
2. I have around 5 custom fields. It appears that to rearrange these, they have to remain 'together' in the same little group. Is this correct?

P.S. I am quite familiar with PHP coding.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Tickets List - Change Column Order

Post by Klemen »

The column header is printed based on $hesk_settings['ticket_list'] (see hesk_settings.inc.php and function hesk_print_list_head in inc/ticket_list.inc.php); you can overwrite/reorder this variable before printing the header.

Custom fields are together because they are processed in a foreach loop. You could do them one by one in any order you want, but unfortunately, such customizations are out of the scope of my support.
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
Post Reply