From 20ce34336982b6dfbbbbb3d8694993404307d24c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 7 Mar 2024 17:34:35 +0000 Subject: [PATCH] Bug 36120: Add pickup library to bookings list table Sponsored-by: Cuyahoga County Public Library Signed-off-by: Lisette Scheer Signed-off-by: Kristi Krueger Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/bookings/list.tt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt index c525f605c9..b0d6911423 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -203,7 +203,8 @@ }, "embed": [ "item", - "patron" + "patron", + "pickup_library" ], "columns": [{ "data": "booking_id", @@ -236,6 +237,15 @@ }); } }, + { + "data": "pickup_library.name", + "title": _("Pickup library"), + "searchable": true, + "orderable": true, + "render": function(data, type, row, meta) { + return row.pickup_library.name; + } + }, { "data": "start_date", "title": _("Start date"), -- 2.39.5