Bug 26733

Summary: Javascript crashes - makes all holds reservable
Product: Koha Reporter: Rickard Lindfors <rickard.lindfors>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt
Version: 20.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: JS Crash example

Description Rickard Lindfors 2020-10-19 05:17:09 UTC
Created attachment 111953 [details]
JS Crash example

Hello! We've just tested the new version, 20.05.04 a bit and had some problems with placing a hold in the staff interface.

1. Set On shelf holds allowed to If all unavailable to an item type.
2. Search the catalog for a book with available items with the item type above.
2. Place a hold and choose a user that can make that hold.
3. circ-patron-search-results_20.0504000.js crashes. var override_items should use a "," instead of a ";". (See picture). This crash result: the librarians can place a hold on this book, which should not be possible. Note: there is no problem in the OPAC.
Comment 1 Owen Leonard 2020-10-19 12:18:07 UTC
This has been fixed. The fix will be in 20.05.05.

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