[Koha-bugs] [Bug 34950] ILS DI Availability is not accurate for items on holds shelf or in transit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 19 19:33:48 CET 2023


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

--- Comment #2 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
Created attachment 160060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160060&action=edit
Bug 34950: Add availability statuses for in transit and on hold items.

To test:
1. Enable the ILS-DI system preference.
2. Place a hold for a patron and put it in transit. Place another hold for a
patron that is available for pickup at the local branch. And then select an
item that is available for checkout but don’t change the status for it.
3. Go to your testing OPAC and make an ILS-DI “Get Availability” call using the
item ids of the three items you worked with in step 2. (i.e.
http://localhost:8080/cgi-bin/koha/ilsdi.pl?service=GetAvailability&id=321+323+214&id_type=item)
4. Notice that the availability status for all three items is showing as
available. The item in transit and the item with a local hold should have a
status of not available and a message of why they are not available.
5. Apply the patch
6. Use restart_all.
7. Refresh the page and notice that the statuses are now correct. The item in
transit has a status of not available and an availability message of “In
transit”. The item with the local hold has an availability status of not
available with an availability message of “On hold”. Finally the available item
is correctly showing up as available.
8. Sign off and have a wonderful day. :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list