[open-ils-commits] [GIT] Evergreen ILS branch master updated. 66656c93c14e06bc3a57a9cc122cdbbb7d35923c

Evergreen Git git at git.evergreen-ils.org
Wed Jan 16 13:16:19 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, master has been updated
       via  66656c93c14e06bc3a57a9cc122cdbbb7d35923c (commit)
      from  b5c8093db947e2c4abcd77f23e58df97f830d9dd (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 66656c93c14e06bc3a57a9cc122cdbbb7d35923c
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