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 <paul.derscheid@lmscloud.de>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Paul Derscheid 2026-07-24 08:29:14 +02:00 committed by Pedro Amorim
parent 91556ada91
commit 15dfbc2f08
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@
$(document).ready(function () {
let additional_filters = {
status: function () {
return { "-in": ["new", "issued"] };
return "new";
},
start_date: function () {
let fromdate = $("#from");