Articles in private knowledgebase categories get suggested when users try to open a ticket

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
George
Posts: 10
Joined: Wed Dec 13, 2017 7:36 am

Articles in private knowledgebase categories get suggested when users try to open a ticket

Post by George »

Hello, hope you're well!

First of all, I love Hesk.

Some knowledgebase categories are private and do not appear when someone clicks 'View Entire Knowledgebase.' However, I have enabled the option to suggest related knowledgebase entries based on the title or message when a new ticket is opened. The issue is that articles from private categories are also being suggested.

Info:

https://helpcenterhq.com/phpinfo.php

https://helpcenterhq.com/session_test.php

ChatGPT suggested these modifications to suggest-articles.php:

✔ Exclude private articles by ensuring t1.type = '0' (only public articles).
✔ Exclude private categories by ensuring t2.type = '0' (only public categories).

The mods were applied, but the issue persists.

Is this normal Hesk behavior? That seems unlikely, given how brilliant this script is. But if it is, let me know, and I'll see how I can address it.

Thank you!

George
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Articles in private knowledgebase categories get suggested when users try to open a ticket

Post by Klemen »

Hi George,

This should not happen, no.

Can you give me access to your help desk (in private) to test this specific case?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply