[GIT] Evergreen ILS branch main updated. 5f22e31efb922c4ba661a76155e7facde4c162d3

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, main has been updated via 5f22e31efb922c4ba661a76155e7facde4c162d3 (commit) from ff4a622bdb3ad553f2a02abf8d8b971edb4e1dab (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 5f22e31efb922c4ba661a76155e7facde4c162d3 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. 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