Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

CSV Export not showing thread_count

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 :)


Tagged:

Comments

  • 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.

  • edited March 2015
    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 ['thread_count'].

    That could REALLY do my day!

    Have a nice day :)


  • 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 :)
Sign In or Register to comment.