LP1185524 - Duplicate patron checking in the user editor is limited to workstation OU user/catalystit/lp1185524-duplicate_patron_checking
authorKyle Tomita <ktomita@catalystitservices.com>
Fri, 31 May 2013 18:33:59 +0000 (11:33 -0700)
committerKyle Tomita <ktomita@catalystitservices.com>
Fri, 31 May 2013 18:33:59 +0000 (11:33 -0700)
commit2266689bf8f5debc4cb1ba955afdf1027a0eaca6
tree5ff1831aaa37ed11facfcb643e7328602cec5b14
parent4ad49105a58fc4241737718feb4b9aae57eced7f
LP1185524 - Duplicate patron checking in the user editor is limited to workstation OU

Added a new library setting opac.duplicate_patron_check_use_consortium. When true,
the duplicate check will use the consortium (1) as the OU.  When false or not set,
the duplicate check will use the workstation OU.

The setting is checked in subroutine that creates the search request and sets
the OU accordingly.

Signed-off-by: Kyle Tomita <ktomita@catalystitservices.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.add_setting_for_selecting_consortium_as_search_ou_for_duplicate_patron_check.sql [new file with mode: 0644]