Support Tickets - helpdesk ticket save is visible on client side login

helpdesk ticket save is visible on client side login

HelpDesk 22.12.2016 2249 Support Status: Closed Solution: Yes goldstrikn


Hello,

The ticket save feature works, but there is an issue. When a customer logs to check its ticket, whatever was saved it shows it.

This should not show, as the ticket response is not complete, for this reason the response is saved and not published, but it publishes it on the customer portal side.

I hope you know what I mean. Please check and revert asap.

Thanks.


Replies (4)

  • avatar Jerome

    Thank you for the report. We will check and release a fix asap.

    22.12.2016 0
  • avatar Jerome

    Thank you for your report. The fix is included in the next release 1.9.7.

    If you can't wait please open the home.php file and find:

    $result = $jakdb->query('SELECT * FROM '.$jaktable3.' WHERE ticketid = "'.smartsql($page2).'" ORDER BY id ASC');

    replace with:

    $result = $jakdb->query('SELECT * FROM '.$jaktable3.' WHERE ticketid = "'.smartsql($page2).'" AND sent != 0 ORDER BY id ASC');

    Kind regards

    22.12.2016 0
  • avatar goldstrikn

    Thanks Jerome. I hope your update 1.9.7 comes soon, as you also integrate in that update a new function for creating tickets without asking to login https://jakweb.ch/support/t/590/user-account-after-first-ticket

    24.12.2016 0
  • avatar Jerome

    Open following file support.php and find:

    if (jak_field_not_exist(strtolower($defaults['email']),$jaktable2,$jakfield)) {

    replace with:

    if (JAK_CLIENTACCOUNT && jak_field_not_exist(strtolower($defaults['email']),$jaktable2,$jakfield)) {

    Regards and happy days.

    24.12.2016 0