-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix KB item selection #11923
Fix KB item selection #11923
Conversation
This is completely in conflict, as the aim was to explicitly share articles with users (target = user) who do not have rights to the FAQ. Reverting to the previous code removes this feature. |
@Rom1-B We need to do some extra checks on this PR : If you approved it, I assume it works as you expect in respect of #9898. However, I notice 2 problems
I add WIP prefix to prevent merging my PR for now. |
4cedd4d
to
960815e
Compare
PR has been rebased |
knowbaseitem.class.zip Thank you!! |
Hi @carlosbmc knowbaseitem.class.php does not exists anymore in GLPI 10. You cannot apply this patch on an older version of GLPI. |
To me, it seems more like a functional question. Maybe @orthagh can explain the intended behavior. |
So not a bug for me (I still think the UI could be improved to include this information in one way or another to avoid confusions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See previous comment
Its correct, |
#12922 should take care of it. |
Closing this PR in favor of the above mentionned one. @carlosbmc : you may want to test that PR as I think it is better to include it in GLPI instead of this one. |
Error while searching for KB items. Regression introduced in a290f76 (file inc/knowbiseitem.class.php)
When searching for KB items from Formcreator, the result may give items without any target (entity, profile, user or group).
The problem is in the 3rd line of the WHERE clause
OR `glpi_knowbaseitems`.`is_faq` = '1'
This PR reverts a part of the above mentionned commit
here is the faulty request
Here is a working requestin GLPI 9.5