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

            Bug ID: 40296
           Summary: Bookings that are checked out can be double counted
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

To recreate:

0. I am using k-t-d record #32, which includes 3 items.
1. Create a booking starting today. To do so I had to create one in the UI for
tomorrow and then run:

update bookings set start_date = '2025-07-02 06:00:00';

2. Create a 2nd booking, choosing 'Any item'. I did 7/3 - 7/11. It should work 
3. Now try to create another booking for 'Any item' with the same dates. You
will get a 'Failure' at the top of the modal. The API response 'booking would
conflict'

I think that items that are checked out are being double counted in
check_booking

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to