Parts hold check does not ignore deleted parts
Bug #2051557 reported by
Britta Dorsey
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.11 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
v3.11.2
Chrome v120.0.099.217
Global setting "Holds: Require Monographic Part When Present for hold check" ignores deleted parts on a bibliographic record.
A hold was attempted on a record that did not have any parts and the Part area of the hold function said "N/A". When Place Hold was clicked, the error TITLE_HOLD_
We double checked and saw that the record in question still had deleted parts associated with it which led us to believe that the global setting is not ignoring deleted parts.
I can confirm that this does not seem to happen when the library setting "Require Monographic Part when Present" is set to True.
Changed in evergreen: | |
milestone: | none → 3.12.1 |
Changed in evergreen: | |
milestone: | 3.12.1 → 3.12.2 |
Changed in evergreen: | |
assignee: | nobody → Jason Etheridge (phasefx) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Confirmed. The query for monograph parts in _check_ title_hold_ is_possible( ) in Open-ILS/ src/perlmods/ lib/OpenILS/ Application/ Circ/Holds. pm looks like it should be updated to filter out deleted parts.
A similar in query all_rec_holds() might need a closer look. It checks for all parts on the title, including deleted ones, but since the routine is for getting all (active) holds on a bib record, we may actually want part holds where the part somehow got deleted without updating the hold. However, this routine may be better off being the topic of a separate bug.
(I've made significant edits to this comment)