Bug 19294

Summary: ILS-DI: HoldTitle and HoldItem don't consider "on shelf holds allowed" setting
Product: Koha Reporter: Julian Maurice <julian.maurice>
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: arthur.suzuki, fridolin.somers, nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Julian Maurice 2017-09-12 10:06:13 UTC
Steps to reproduce:

1. In "Circulation and fines rules", set "On shelf holds allowed" to "If all unavailable" for all branches/patron categories/itemtypes 
2. Try to place a hold using ILS-DI on a title that have all its items available (e.g. http://opac.master.koha-dev/cgi-bin/koha/ilsdi.pl?service=HoldTitle&patron_id=1&bib_id=1&request_location=127.0.0.1)
3. The hold is placed but it shouldn't be allowed.
4. Cancel the hold
5. Try to place a hold using ILS-DI on an available item (e.g. http://opac.master.koha-dev/cgi-bin/koha/ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1)
6. The hold is placed but it shouldn't be allowed.
Comment 1 Nick Clemens 2019-04-22 13:08:24 UTC

*** This bug has been marked as a duplicate of bug 20985 ***