]> 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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Mon, 13 Feb 2023 09:24:16 +0000 (09:24 +0000)
commitcc253e255cccea871a1d3bf2820617df40b6e750
treebc2d4b38b3c6e8a9abdc7e0fbce4c1aa5a58a4c6
parentcf694ee7e5cab31d7ef6b16d2d6b2ae13c9d932b
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>
(cherry picked from commit 93d563b575d3c0a43702e1bf7dda5afc211c898f)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt