]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#2051557: ignore deleted monograph parts when checking title holds
authorGalen Charlton <gmc@equinoxOLI.org>
Mon, 29 Jan 2024 15:49:24 +0000 (10:49 -0500)
committerJason Etheridge <phasefx@gmail.com>
Tue, 6 Feb 2024 20:38:33 +0000 (15:38 -0500)
commit8cdaa846f3efceea8cfdd2a9e6a26925e87a8811
treeb18083f1f21abf05f06251064a3b3293079520c6
parentdb96c4b7641152c9a747df88ff66629c4c6df554
LP#2051557: ignore deleted monograph parts when checking title holds

This patch ensures that when "Require Monographic Part when Present"
is in effect, that deleted monograph parts are not taken into
account when checking whether a title-level hold is possible.

To test
-------
[1] Set up a bibliographic record that has at least one monograph
    part, then delete that part.
[2] Turn on the "Require Monographic Part when Present" library setting.
[3] Attempt to place a title-level hold on the record. Note that the
    following error is returned: "Require Monographic Part when Present"
[4] Apply the patch and repeat step 3. This time, the hold should
    go through.

Release-note: Ignore deleted monograp parts when checking title holds while "Require Monographic Part when Present" is on.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur Davis <rfrasur@library.in.gov>
Signed-off-by: Jason Etheridge <phasefx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm