From 18ccd7dc07de07e5c4eba4184095f2a2688c4446 Mon Sep 17 00:00:00 2001 From: Stefan Berndtsson 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 Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer (cherry picked from commit 1c3bc68e9c4abcb4e72e886322b5e1a51f318a3e) Signed-off-by: Fridolin Somers --- 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 1f2ff30be7..69e001189f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc @@ -111,7 +111,7 @@ [% END %]
[% END %] - View restrictions + View restrictions [% END # /IF userdebarred %]