]> git.koha-community.org Git - koha.git/commit
Bug 13531: QA follow up
authorThomas <tomsStudy@gmail.com>
Wed, 14 Jan 2015 20:20:36 +0000 (20:20 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 3 Apr 2015 03:43:00 +0000 (16:43 +1300)
commit87a294010e0916117ef51dde0930900bf75e1eb7
tree2260be9fb39f151761a8cb77662570b7d539e375
parent6dbb2ccb95313483b730cec991004b91ece5c1e9
Bug 13531: QA follow up

A minor QA comment.

::: misc/migration_tools/bulkmarcimport.pl
@@ +271,5 @@
>          my ( $error, $results, $totalhits ) = C4::Search::SimpleSearch( $query, 0, 3, [$server] );
> +        # changed to warn so able to continue with one broken record
> +        if ( defined $error ) {
> +            warn "unable to search the database for duplicates : $error";
> +            next;

For consistency with the rest of the script, should this perhaps be:

next RECORD;

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 002b79c200f03adc162a5f59b988e8eb6c65e229)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
misc/migration_tools/bulkmarcimport.pl