https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43108

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from David Nind <[email protected]> ---
I can't reproduce the test failures with only the first patch applied:
- Fails as it doesn't exist yet: prove
t/db_dependent/Koha/Biblio/Availability/Booking.t - Pass: prove
t/db_dependent/Koha/Biblio.t and prove t/db_dependent/api/v1/biblios.t

Testing notes (using KTD):
1. I added a holiday using Tools > Calendar for 2026-07-30
2. I enabled bookings and placed a booking on Programming Perl (262)
   from 2026-07-29 to 2026-07-31 for Mary Burton, with the pickup
   at Centerville.
3. curl -u koha:koha
"[staff-interface-url]:8081/api/v1/biblios/262/booking_availability?from_date=2026-07-01&to_date=2026-07-31&pickup_library_id=CPL"

or via URL request:

{
  "availability": {
    "2026-07-29": {
      "578": {
        "blockers": {
          "booking": 1
        },
        "confirms": {

        },
        "warnings": {

        }
      }
    },
    "2026-07-30": {
      "578": {
        "blockers": {
          "booking": 1
        },
        "confirms": {

        },
        "warnings": {
          "holiday": 1
        }
      }
    },
    "2026-07-31": {
      "578": {
        "blockers": {
          "booking": 1
        },
        "confirms": {

        },
        "warnings": {

        }
      }
    }
  },
  "item_ids": [578]
}

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to