[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.06-75-gd033637889
Git repo owner
gitmaster at git.koha-community.org
Mon Jun 22 05:34:50 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 19.11.x has been updated
via d0336378897e33bdd31975c2c126a4ce36ac79a9 (commit)
from 28fb7b4f83b84069954fd6baf7e1e762c67ee75c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d0336378897e33bdd31975c2c126a4ce36ac79a9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 20 15:40:10 2019 +0100
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>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit 6fc316d2eef5945b20a14bec81e2daa57696dd81)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
(cherry picked from commit 9893fb4ec5a480b7adcbb27f321f7387a4f38f45)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
-----------------------------------------------------------------------
Summary of changes:
.../opac-tmpl/bootstrap/en/modules/opac-tags.tt | 4 +--
opac/opac-tags.pl | 38 +++++++++++-----------
2 files changed, 20 insertions(+), 22 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list