[GIT] Evergreen ILS branch rel_3_13 updated. 8487d8340a69b8232bb427d3ccca37ec452c12e3

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_13 has been updated via 8487d8340a69b8232bb427d3ccca37ec452c12e3 (commit) from 9c6acbb3328454cf9a6b1f364fdeb4a239d1998e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8487d8340a69b8232bb427d3ccca37ec452c12e3 Author: Dan Briem <dbriem@harrisonpl.org> Date: Sat Feb 22 19:28:33 2025 +0000 LP#2098898 Precat Checkouts Automatically Override Fail Events Removes the automatic override designation on precat checkouts ensuring failure events are returned to the client so the user can choose to override them or not. Release-note: Prevents blocked accounts from checking out Precats. Signed-off-by: Dan Briem <dbriem@harrisonpl.org> Signed-off-by: Susan Morrison <smorrison@georgialibraries.org> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index b0e68a2ac4..f2c9ced454 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -247,11 +247,7 @@ sub run_method { $circulator->do_permit(); } elsif( $api =~ /checkout.full/ ) { - - # requesting a precat checkout implies that any required - # overrides have been performed. Go ahead and re-override. $circulator->skip_permit_key(1); - $circulator->override(1) if ( $circulator->request_precat && $circulator->editor->allowed('CREATE_PRECAT') ); $circulator->do_permit(); $circulator->is_checkout(1); unless( $circulator->bail_out ) { @@ -1335,7 +1331,14 @@ sub run_indb_circ_test { { from => [ $dbfunc, $self->circ_lib, - ($self->is_noncat or ($self->is_precat and !$self->override and !$self->is_renewal)) ? undef : $self->copy->id, + ( + $self->is_noncat + or ( + $self->is_precat and + !$self->request_precat and + !$self->is_renewal + ) + ) ? undef : $self->copy->id, $self->patron->id, ] } ----------------------------------------------------------------------- Summary of changes: .../src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User