Bugzilla – Attachment 143376 Details for
Bug 32125
Implement contextual return on OPAC comments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32125: Impliment modal context return on opac-detail.
Bug-32125-Impliment-modal-context-return-on-opac-d.patch (text/plain), 2.06 KB, created by
Martin Renvoize (ashimema)
on 2022-11-07 17:14:29 UTC
(
hide
)
Description:
Bug 32125: Impliment modal context return on opac-detail.
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-11-07 17:14:29 UTC
Size:
2.06 KB
patch
obsolete
>From f4086c3cae6a0990e33a95db8dc89e8721617022 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 6 Oct 2022 14:41:19 +0100 >Subject: [PATCH] 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> >--- > 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 %] > <div id="addcomment"> >- <a class="login-link loginModal-trigger" role="button" data-toggle="modal" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment. >+ <a class="login-link loginModal-trigger" role="button" data-toggle="modal" data-return="true" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment. > </div> > [% END # / IF loggedinusername %] > </div> <!-- / #comments --> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32125
:
143376
|
143377
|
143466
|
143467