[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.00-49-g9893fb4ec5

Git repo owner gitmaster at git.koha-community.org
Thu Jun 18 01:04:25 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, 20.05.x has been updated
       via  9893fb4ec5a480b7adcbb27f321f7387a4f38f45 (commit)
      from  29efdfc9af72315f8886b7755d6d6f3c6516a427 (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 9893fb4ec5a480b7adcbb27f321f7387a4f38f45
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>

-----------------------------------------------------------------------

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