[GIT] Evergreen ILS branch rel_3_14 updated. a9fc46eb8f9273b3c10254cf21947b98ff022499

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_14 has been updated via a9fc46eb8f9273b3c10254cf21947b98ff022499 (commit) from 949036f3c85b72bcd8615734f4be221227186c01 (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 a9fc46eb8f9273b3c10254cf21947b98ff022499 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