LP#
1444644 Copy Import Development Work
This is the first commit in the copy import development work outlined
here: https://bugs.launchpad.net/evergreen/+bug/
1444644
It copies the Overlay In-process Acquisition Copie code, with
modifications to fit the specificiations outlined on Launchpad.
This process first checks the number of copies belonging to a record,
whose volumes' owning_lib matches the OU specified in the Holdings
Import Profile. If a match is not found, then it searches the OU's
federation for copies. The record with the largest number of copies
is chosen as the record to be overlaid. If there are two records
with the same number of copies, then the record with the largest
biblio.record_entry.id is chosen for overlay.
Finally, if no records have copies relevant to the OU or its
Federation, then the default best match overlay is attempted.
The vandelay.js and its corresponding upload.tt2 file needed
modifications in order to trigger the code that attempts to Auto
Overlay according the the number of copies per OU.
Two new perms were added to control the use of Auto Overlaying
On-order copies and Using Org Copies to Determine Best Match.
The UI modifications to the Vandelay Onorder Overlay Copy Import
Development work are also included in this commit.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm