https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28057 --- Comment #11 from Joonas Kylmälä <joonas.kylmala@helsinki.fi> --- (In reply to Joonas Kylmälä from comment #10)
This causes an regression for normal usage, to reproduce:
1. Set circ rule as follows: on shelf holds: If all unavailable 2. Add one (available) item to biblio 3. Notice that you get error message when trying to place a hold 4. Apply patch 5. Refresh the hold page and notice the error message is gone!
This patch should not break the on shelf hold reservation rules for non-analytic record items the very least.
The problem appears to be that the new variable is undefined. I added some debugging code: +warn "Checking with: " . $biblioitem->{biblionumber} . "\n"; this produces the following log result: [2021/07/28 15:58:11] [WARN] Checking with: -- You are receiving this mail because: You are watching all bug changes.