From 01abfbd70290ee0a55e2362a634ead28586086a2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 16 Sep 2015 10:33:09 -0400 Subject: [PATCH] Bug 11368: [QA Followup 2] Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- misc/migration_tools/import_lexile.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/migration_tools/import_lexile.pl b/misc/migration_tools/import_lexile.pl index a81f743159..e9fad46503 100755 --- a/misc/migration_tools/import_lexile.pl +++ b/misc/migration_tools/import_lexile.pl @@ -83,7 +83,7 @@ This script takes the following parameters : -c --confirm Confirms you want to really run this script ( otherwise print help ) -t --test Runs the script in test mode ( no changes will be made to your database ) -f --file CSV file of lexile scores ( acquired from Lexile.com ) - -v --verbose Print data on found matches + -v --verbose Print data on found matches. Use -v -v for more data, and -v -v -v will give the most data. --field Defines the field number for the Lexile data ( default: 521 ) --target-audience-note Defines the subfield for the lexile score ( default: a ) --source Defines the "Source" subfield ( default: b ) @@ -142,7 +142,7 @@ while ( my $row = $csv->getline_hr($fh) ) { my @likes = map { { isbn => { like => '%' . $_ . '%' } } } @isbns; my @biblionumbers = - $schema->resultset('Biblioitem')->search( -or => \@likes ) + $schema->resultset('Biblioitem')->search( { -or => \@likes } ) ->get_column('biblionumber')->all(); say "Found matching records! Biblionumbers: " . join( " ,", @biblionumbers ) -- 2.39.5