[open-ils-commits] [GIT] Evergreen ILS branch rel_3_2 updated. 9bd0734776ba57bd6c2e2739b311cbbc068024bd

Evergreen Git git at git.evergreen-ils.org
Wed Jan 16 13:16:13 EST 2019


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_2 has been updated
       via  9bd0734776ba57bd6c2e2739b311cbbc068024bd (commit)
      from  22e1b3f91fa617708f26211138d2e016f1bafd06 (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 9bd0734776ba57bd6c2e2739b311cbbc068024bd
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Thu Nov 22 15:46:56 2018 -0800

    LP1804716: grab recall-able copies before they are filtered out
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Bill Erickson <berickxx at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm
index 392822a..a42638c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm
@@ -733,13 +733,13 @@ sub filter_closed_date_copies {
 sub filter_copies_by_status {
     my $self = shift;
 
+    # Track checked out copies for later recall
+    $self->recall_copies([grep {$_->{status} == 1} @{$self->copies}]);
+
     $self->copies([
         grep {$_->{status} == 0 || $_->{status} == 7} @{$self->copies}
     ]);
 
-    # Track checked out copies for later recall
-    $self->recall_copies([grep {$_->{status} == 1} @{$self->copies}]);
-
     return 1;
 }
 

-----------------------------------------------------------------------

Summary of changes:
 .../src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list