From a83813a57a96a559170a3fdd94e4b45f5ccb9a9a Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Tue, 17 Sep 2019 19:03:14 +0000 Subject: [PATCH] Bug 23623: (follow-up) Add missing filters Signed-off-by: Josef Moravec Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index d49baed32c..cc96be9d04 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -1053,7 +1053,7 @@ $('#update_privacy_guarantor_checkouts').click( function() { var can_see_checkouts = $('#privacy_guarantor_checkouts').val() == 1; $.ajax({ - url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_checkouts", + url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber | uri %]/guarantors/can_see_checkouts", type: "PUT", data: JSON.stringify({ allowed: can_see_checkouts }), contentType: "application/json", @@ -1071,7 +1071,7 @@ $('#update_privacy_guarantor_fines').click( function() { var can_see_charges = $('#privacy_guarantor_fines').val() == 1; $.ajax({ - url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_charges", + url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber | uri %]/guarantors/can_see_charges", type: 'PUT', data: JSON.stringify({ allowed: can_see_charges }), contentType: 'application/json', -- 2.20.1 (Apple Git-117)