From 04cd884d10a4b9b6a889c084d40b44742e3d7279 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Oct 2019 14:53:24 +0000 Subject: [PATCH] Bug 23528: Show 'log in to add tags' link on all search result entries This patch modifies the OPAC search result template so that each result shows the "Log in to add tags" link instead of just the first. To test, apply the patch and make sure TagsEnabled and TagsInputOnList are both enabled. Perform a search in the OPAC while not logged in. In the list of results, the "Log in to add tags" link should appear with every result. Log in to the OPAC and confirm that the "Add tag" link appears as expected. Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index e571fbc9c1..15399e5828 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -554,8 +554,8 @@ - [% ELSIF ( loop.first ) %] - Log in to add tags + [% ELSE %] + Log in to add tags [% END # IF loggedinusername %] [% END # if TagsInputEnabled %] -- 2.39.2