From 11f9da6d8bddd0bb3ab5c86ef1685fb5a62a40bc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Jan 2024 11:20:55 +0000 Subject: [PATCH] Bug 35772: Remove double escaping Patch as proposed by Jonathan in a comment on bug 29002 --- koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js b/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js index 47e504b5782..b3e0277edf1 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js +++ b/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js @@ -100,7 +100,7 @@ $('#placeBookingModal').on('show.bs.modal', function(e) { return patron.text; } return ( - escape_str(patron.surname) + ", " + escape_str(patron.firstname) + patron.surname + ", " + patron.firstname ); }, placeholder: "Search for a patron" -- 2.43.0