allow for consortium-wide duplicate patron checking when
registering a patron.
See LP
1185524 for the Right Way to do it.
# 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);