This fix will correct an issue where the screen just keeps looping to
the override screen when trying to place a hold that has no titles
available for it.
Patch courtesy of Mike Rylander.
Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
my $res;
($res) = $self->method_lookup(
'open-ils.circ.title_hold.is_possible')->run($auth, $params, $override ? $oargs : {});
- if ($res->{'success'} == 1) {
+ if ($res->{'success'} == 1 || ($override && $res->{place_unfillable})) {
$params->{'depth'} = $res->{'depth'} if $res->{'depth'};