From f79053bca0ac98ea6f4d529620c65f89cad0a953 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 --- 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 %]
[% END %] - View restrictions + View restrictions [% END # /IF userdebarred %] -- 2.39.5