LP 1890629: Make Self-Registration Opt-in Settings Lookup Tree Aware user/dyrcona/lp1890629
authorJason Stephenson <jason@sigio.com>
Fri, 14 Aug 2020 16:42:24 +0000 (12:42 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 14 Aug 2020 16:42:24 +0000 (12:42 -0400)
commitdf0f53835f6e4a095af1a40c7eccf2fe821561c9
tree736d523bcc07739f1035c4bb5a9df1fbef2d9969
parentbadfbdf06bfd9713f3102bd350f652487d8e8006
LP 1890629: Make Self-Registration Opt-in Settings Lookup Tree Aware

Patron self-registration in the OPAC only shows the opt-in settings if
the events are owned specifically at one of the locations where patron
self-registration is also allowed.  The event could be owned higher up
the org. tree from the libraries that allow self-registration,
particularly in a consortium where not all members do
self-registration.  This patch changes the search for opt-in events to
include the ancestor org. units of those that allow self-registration.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Register.pm