[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 3c073f40b9a3052bed8baad97dab722fd9d22a1a

Evergreen Git git at git.evergreen-ils.org
Thu Jul 14 11:49:13 EDT 2011


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_2_1 has been updated
       via  3c073f40b9a3052bed8baad97dab722fd9d22a1a (commit)
      from  ee1d760f4f49412ceed8a24448173e88a4f9b2cd (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 3c073f40b9a3052bed8baad97dab722fd9d22a1a
Author: Mike Rylander <mrylander at gmail.com>
Date:   Thu Jul 14 11:42:26 2011 -0400

    Correct CDBI thinko -- search_where is smart about wantarray, search is not
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
index ca1e0df..23717a7 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
@@ -1271,7 +1271,7 @@ sub new_hold_copy_targeter {
 						isTrue($_->holdable) &&
 						!isTrue($_->deleted) &&
 						(isTrue($hold->mint_condition) ? isTrue($_->mint_condition) : 1) &&
-						($hold->hold_type ne 'P' ? @{ $_->part_maps } == 0 : 1)
+						($hold->hold_type ne 'P' ? $_->part_maps->count == 0 : 1)
 					} @$all_copies;
 
 			# let 'em know we're still working

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

Summary of changes:
 .../Application/Storage/Publisher/action.pm        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list