Bugzilla – Attachment 180154 Details for
Bug 39467
Fix patron "View restrictions" link in messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39467: Fix patron "View restrictions" link in messages
Bug-39467-Fix-patron-View-restrictions-link-in-mes.patch (text/plain), 1.75 KB, created by
Jesse Maseto
on 2025-04-01 12:37:13 UTC
(
hide
)
Description:
Bug 39467: Fix patron "View restrictions" link in messages
Filename:
MIME Type:
Creator:
Jesse Maseto
Created:
2025-04-01 12:37:13 UTC
Size:
1.75 KB
patch
obsolete
>From f79053bca0ac98ea6f4d529620c65f89cad0a953 Mon Sep 17 00:00:00 2001 >From: Stefan Berndtsson <stefan.berndtsson@ub.gu.se> >Date: Fri, 7 Mar 2025 12:59:14 +0100 >Subject: [PATCH] Bug 39467: Fix patron "View restrictions" link in messages > >Currently nothing happens when clicking the "View restrictions" link >in patron messages. Using the bootstrap api to open it resolves the >issue. > >To test: >1) Go to a patrons details page, click "Restrictions" and add amanual > restriction. >2) A message with a "View restrictions" link should appear. >3) Clicking this link does not open the "Restrictions" tab as it should. >4) Apply patch >5) Now this "View restrictions" link should open the "Restrictions" tab > >Sponsored-by: Gothenburg University Library >Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >index 39a9c0ecc6..b946fc8001 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >@@ -102,7 +102,7 @@ > [% END %] </em > ><br /> > [% END %] >- <a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> >+ <a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="(new bootstrap.Tab($('#reldebarments-tab'))).show()"><i class="fa fa-ban"></i> View restrictions</a> > </li> > <!-- /.blocker --> > [% END # /IF userdebarred %] >-- >2.39.5
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 39467
:
179768
|
180154
|
180270