From: Chris Sharp Date: Fri, 16 Aug 2013 15:01:50 +0000 (-0400) Subject: Hard-coding the search org unit to "1" (PINES) for to X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=37c6689d55261b070aa7af77e4cda8c9b752457d;p=evergreen%2Fpines.git Hard-coding the search org unit to "1" (PINES) for to allow for consortium-wide duplicate patron checking when registering a patron. See LP 1185524 for the Right Way to do it. --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm index 5f6073fa4b..dd1039acef 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm @@ -1321,7 +1321,7 @@ sub patron_adv_search { # depth boundary outside of which patrons must opt-in, default to 0 my $opt_boundary = 0; $opt_boundary = $U->ou_ancestor_setting_value($e->requestor->ws_ou,'org.patron_opt_boundary') if user_opt_in_enabled($self); - + $search_ou = 1; # hard coding this here - see lp1185524 for details return $U->storagereq( "open-ils.storage.actor.user.crazy_search", $search_hash, $search_limit, $search_sort, $include_inactive, $e->requestor->ws_ou, $search_ou, $opt_boundary);