Bug 10230: Don't limit valid matches to bibs
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 11 May 2013 19:19:58 +0000 (15:19 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 19 May 2013 12:40:13 +0000 (08:40 -0400)
commit4f9174349c99574df0933f2b660938998580d8ba
tree6a27d50b734399ae43a0fba1f963c8be11b25737
parent2708db52778944f41b36379cc5f202a8ddea6a5a
Bug 10230: Don't limit valid matches to bibs

The patch for bug 9523 added a JOIN to the biblio table when identifying
the best match so that if a matched record had been deleted it would
not hold up the import process. Unfortunately, this broke all authority
matching, since of course authorities don't appear in the biblio table.
This patch adds a join to auth_header as well, and decides which to
check based on the record type.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Comment on third patch of this series.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/ImportBatch.pm