[Koha-bugs] [Bug 23276] Don't show tags on tag cloud when tagging is disabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 20 15:44:06 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23276

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 95618
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95618&action=edit
Bug 23276: Do not display tag if pref TagsEnabled is off

If the pref TagsEnabled is off we should not display the tags at the
OPAC.
There is a message to tell that tags system is disabled, but the tags
are displayed.

This patch introduces the blocking_errors include file at the OPAC.

Test plan:
- Turn TagsEnabled on
- Add some tags
- Turn TagsEnabled off
- Hit /cgi-bin/koha/opac-tags.pl
=> Without this patch you see a warning messaging saying that the tag
system is disabled, but the tags are displayed
=> With this patch you see a (ugly) short screen saying that the tag
system is disabled.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list