[GIT] Evergreen ILS branch rel_3_15 updated. 78f0af8eaa290216e3ac0b8fed676dfa9407bd66

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_15 has been updated via 78f0af8eaa290216e3ac0b8fed676dfa9407bd66 (commit) from 31b6a8447d3f95b182500079707ab12b72ea3b39 (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 78f0af8eaa290216e3ac0b8fed676dfa9407bd66 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 7a2e2c19ca..c312d0a592 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