Hello! We've just tested version 20.05.04 a bit and had some problems with placing a hold in the staff interface. First, we thought the problem was a javascript crash (see 26460). We've updated this, but the problem is still there. This is what we did: 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. 3. Place a hold and choose a user that can make that hold. Normally, the system shows that this is against the rules, but that doesnt show up. Note: there is no problem in the OPAC. If the user tries to make a hold request there, koha says it is not possible.
Hi Rickard, - Are there any items with other itemtypes on the record? - Have you made sure that the rule you changed was applied? For example a rule set for a specific library will overwrite a default library rule
Can this be related to 24683? https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24683
(In reply to Katrin Fischer from comment #1) > Hi Rickard, > > - Are there any items with other itemtypes on the record? > - Have you made sure that the rule you changed was applied? For example a > rule set for a specific library will overwrite a default library rule Could you please check those?
(In reply to Katrin Fischer from comment #3) > (In reply to Katrin Fischer from comment #1) > > Hi Rickard, > > > > - Are there any items with other itemtypes on the record? > > - Have you made sure that the rule you changed was applied? For example a > > rule set for a specific library will overwrite a default library rule > > Could you please check those? Hi Katrin! Sorry, I am a bit busy at the moment. I'll try check this up and return to you. It might be something with the other bug that Hans mentioned.
I've tested this a little bit now, and the same happens if there's only one item. That item is available, and problem is still the same. We have specific library rules (but only one library) and they clearly seems to be used around the system in other cases. This is is not a big problem for us, as the the Staff normally can overwrite this if they have a reason for it. It is just that a warning should appear and indicate that you probably should not do it :)
I've tested this on master and this is still valid: With AllowHoldPolicyOverride off, I get the following warning and cannot place a hold: No items are available to be placed on hold With AllowHoldPolicyOverride set to Allow, I see no warning and can place the holds. It's not visible in any way, that we are dealing with an override.
*** This bug has been marked as a duplicate of bug 31575 ***