From 66feab3f7e963bcaf7b66abbdaf64c6325a38178 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] --- misc/migration_tools/import_lexile.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/migration_tools/import_lexile.pl b/misc/migration_tools/import_lexile.pl index a81f743..e9fad46 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 ) -- 1.7.2.5