How can I add threads in the export
Will someone help me with adding the threads in the export to csv.
I found the file /include/class.export.php with the next fields.
Can I add threads here also?
Tried some things but did not succeed.
File:
# XXX: Think about facilitated exporting. For instance, we might have a
# TicketExporter, which will know how to formulate or lookup a
# format query (SQL), and cooperate with the output process to add
# extra (recursive) information. In this funciton, the top-level
# SQL is exported, but for something like tickets, we will need to
# export attached messages, reponses, and notes, as well as
# attachments associated with each, ...
/* static */ function dumpTickets($sql, $how='csv') {
return self:($sql,
array(
'ticketID' => __('Ticket Id'),
'created' => __('Date'),
'subject' => __('Subject'),
'name' => __('From'),
'priority_desc' => __('Priority'),
'dept_name' => __('Department'),
'helptopic' => __('Help Topic'),
'source' => __('Source'),
'status' => __('Current Status')
),