From 0d6e59f88f5ae29f41b62ed5dc98b0f3ef7e07e1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Oct 2022 14:41:19 +0100 Subject: [PATCH] Bug 31699: Implement modal context return on opac-detail This patch utilises the generic return option introduced in the previous patch to prevent lose of context when clicking to login to add a comment to a biblio. Test plan 1/ Test that prior to this patch, upon clicking 'Log in to your account to post a comment' you are redirected to opac-user.pl and thus loose your context. 2/ Apply the patch 3/ Confirm that a login using the 'Log in to your account to post a comment' link now redirect immediatly back the correct record and thus maintains context. Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 087f337a7b..85979b934c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -880,7 +880,7 @@ [% END %] [% ELSE %]
- to post a comment. + to post a comment.
[% END # / IF loggedinusername %] -- 2.30.2