]> git.koha-community.org Git - koha.git/commit
Bug 32125: Impliment modal context return on opac-detail.
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Oct 2022 13:41:19 +0000 (14:41 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 9 Feb 2023 13:21:31 +0000 (10:21 -0300)
commit93d563b575d3c0a43702e1bf7dda5afc211c898f
tree4d9cbba8527c9ab2b60d22d5e9b528d625ab43ab
parent37ced7df0531accb4f091c78258ff98946d062c9
Bug 32125: Impliment 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: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt