Bugzilla – Attachment 42603 Details for
Bug 11368
Add script to import Lexile scores
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11368 [QA Followup 2]
Bug-11368-QA-Followup-2.patch (text/plain), 1.69 KB, created by
Kyle M Hall (khall)
on 2015-09-16 14:34:08 UTC
(
hide
)
Description:
Bug 11368 [QA Followup 2]
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-09-16 14:34:08 UTC
Size:
1.69 KB
patch
obsolete
>From 66feab3f7e963bcaf7b66abbdaf64c6325a38178 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11368
:
23379
|
23380
|
28092
|
36438
|
39182
|
39183
|
42603
|
42641
|
42642
|
42643