[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
Tue May 26 12:49:20 CEST 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105349|0                           |1
        is obsolete|                            |

--- Comment #14 from David Nind <david at davidnind.com> ---
Created attachment 105354
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105354&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.

We should redirect to 404 like we do in opac-topissues.pl and
opac-suggestions.pl.

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 get a 404 redirect

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list