From 15dfbc2f08a2cbfe7e8105d8a229fac34e6c4ca2 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Fri, 24 Jul 2026 08:29:14 +0200 Subject: [PATCH] Bug 41898: (QA follow-up) Only list uncollected bookings on the pending list The pending bookings page lists items that have not been collected yet, but the status filter added when the server-side active pre-filter was removed included 'issued' bookings, so bookings reappeared on the list after the item had been checked out. - restrict the status filter to 'new' Test plan: 1. Place a booking starting today and open Circulation > Bookings to collect; the booking is listed 2. Check the item out to the booking patron; reload the list and confirm the booking is gone Signed-off-by: Paul Derscheid Signed-off-by: Pedro Amorim --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt index c277ec65e6..8331e2abb3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt @@ -135,7 +135,7 @@ $(document).ready(function () { let additional_filters = { status: function () { - return { "-in": ["new", "issued"] }; + return "new"; }, start_date: function () { let fromdate = $("#from");