Hello everyone,I just did a basic csv export (v1.9.5), and here are the columns I get :Ticket Number,Date,Subject,From,"From Email",Priority,Department,"Help Topic",Source,"Current Status","Last Updated","Due Date",Overdue,Answered,"Assigned To","Agent".The Thread_Count column is not exported, even if it's in the class.export.php (line 85).Is there a misconfiguration or something I did wrong ?I wish you all a nice day :)

There is no Thread_Count column in the DB.It looks like the export script needs to be updated to calculate the thread count, or have that part removed.

I guess so.If someone could give me enough explanations, I could add something like the code that I found in the "tickets.inc.php" file (staff folder) which has a SQL that allows the $row to get a field .That could REALLY do my day!Have a nice day :)

thread_count is generated a couple other places.see: https://github.com/osTicket/osTicket-1.8/search?utf8=%E2%9C%93&q=thread_count

Thank you ntozier !I'm searching for a way to add this field to the export code, but can't make it work at this very moment.Seems like I need a little code/trick help from someone to make it work !If someone has the skills and the patience to help, feel free to shoot :)Have a nice day :)

Write a Reply...