Koha/misc/migration_tools
Marcel de Rooy a49a7f08d6 Bug 20811: (QA follow-up) Make the isbn check work
The following code was never reached, since $isbn was not filled.
    if (!$biblionumber && $isbn_check && $isbn) {
        $sth_isbn->execute($isbn);
        ($biblionumber,$biblioitemnumber) = $sth_isbn->fetchrow;
    }
Solution: Fix the code with two $isbn declarations. Move the checkisbn
condition a level deeper.

Test plan:
Run misc/migration_tools/bulkmarcimport.pl -file bib726.utf8 --update -isbn
Since you do not match on biblionumber, the ISBN should match.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-23 15:08:56 +00:00
..
22_to_30 Bug 19040: Update 2 occurrences of GetMarcBiblio in 22_to_30 2017-08-25 10:51:24 -03:00
build_oai_sets.pl Bug 17196: Fix build_oai_sets.pl 2017-01-13 13:49:28 +00:00
buildCOUNTRY.pl Convert to UTF-8. 2010-05-06 17:58:24 -04:00
buildEDITORS.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
buildLANG.pl Convert to UTF-8. 2010-05-06 17:58:24 -04:00
bulkmarcimport.pl Bug 20811: (QA follow-up) Make the isbn check work 2018-07-23 15:08:56 +00:00
checkNonIndexedBiblios.pl Bug 12478: make things using SimpleSearch use the new version 2016-04-26 20:20:07 +00:00
create_analytical_rel.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
fix_onloan.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
import_lexile.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
koha-svc.pl Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
rebuild_zebra.pl Bug 19122: (bug 18098 follow-up) Fix IncludeSeeFromInSearches behaviour 2017-10-04 13:21:51 -03:00
rebuild_zebra_sliced.sh Bug 13660: Exclude export phase and use existing exported MARCXML - rebuild_zebra_sliced.sh 2018-01-09 17:23:50 -03:00
remove_unused_authorities.pl Bug 9988: Merge should have a parameter hash 2017-04-13 08:53:46 -04:00
switch_marc21_series_info.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
upgradeitems.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00