Customization to the Export Tickets in Reports
Posted: Sun Apr 16, 2023 3:05 am
Script URL:
Version of script: 3.4.3
Hosting company: Hostinger.com
URL of phpinfo.php: Not applicable
URL of session_test.php: not applicable
What terms did you try when SEARCHING for a solution:
sql export all tickets
sql dump all ticket
sql query all ticket
export ticket sql
Write your message below:
I am using the report extract from Admin Screen -> Repots -> Export Tickets
That report is great and provides me with almost everything I need. I put it in Excel and I can sort, filter, and order it any way I want. Unfortunately, I have one thing missing:
My ideal report would be exactly that, but would includes all replies in the Message field. The most recent replie fist in the "Message" field instead of only the first one as it is right now. Maybe all replies would be too much, in such case we could also limit the replies to the 10 most recent ones.
I looked at my https://website.com/hesk_directory/admin/export.php file. Unfortunately with my limited php knowlege, I am not able to recognize any place in the php program where the sql query is formed and looking for the database field hesk_replies or how the "Message" field of the xml output is packaged in the xml files to import into excel. If someone could provide me with either the final sql statement used or the area where the " Message" field is populated in this script, it would greatly help me to try to customize it.
Any suggestion is Welcomed
Best Regards
Marc L.
Version of script: 3.4.3
Hosting company: Hostinger.com
URL of phpinfo.php: Not applicable
URL of session_test.php: not applicable
What terms did you try when SEARCHING for a solution:
sql export all tickets
sql dump all ticket
sql query all ticket
export ticket sql
Write your message below:
I am using the report extract from Admin Screen -> Repots -> Export Tickets
That report is great and provides me with almost everything I need. I put it in Excel and I can sort, filter, and order it any way I want. Unfortunately, I have one thing missing:
My ideal report would be exactly that, but would includes all replies in the Message field. The most recent replie fist in the "Message" field instead of only the first one as it is right now. Maybe all replies would be too much, in such case we could also limit the replies to the 10 most recent ones.
I looked at my https://website.com/hesk_directory/admin/export.php file. Unfortunately with my limited php knowlege, I am not able to recognize any place in the php program where the sql query is formed and looking for the database field hesk_replies or how the "Message" field of the xml output is packaged in the xml files to import into excel. If someone could provide me with either the final sql statement used or the area where the " Message" field is populated in this script, it would greatly help me to try to customize it.
Any suggestion is Welcomed
Best Regards
Marc L.