Bug 23210: login4tags should be a link and included in every search result

TEST PLAN:

1. Make sure TagsEnabled and TagsInputOnList are set to allow.
2. Don't be logged into the OPAC.
3. Make a search and notice the 'Log in to add tags' text is not a link
   on the results page.
4. Apply patch
5. Refresh OPAC results page
6. 'Log in to add tags' takes you to the login page.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Lucas Gass 2019-08-02 22:21:40 +00:00 committed by Martin Renvoize
parent 4148b222b3
commit 99d8d2db2c
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -555,7 +555,7 @@
Tag status here.
</span>
[% ELSIF ( loop.first ) %]
<span class="actions"><span id="login4tags">Log in to add tags.</span></span>
<span class="actions"><span id="login4tags"><a href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a></span></span>
[% END # IF loggedinusername %]
[% END # if TagsInputEnabled %]