Bugzilla – Attachment 7749 Details for
Bug 5373
fields listed on patron import do not match the csv file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 5373 - allow 'cardnumber' to appear on the patron import field list
SIGNED-OFF-Bug-5373---allow-cardnumber-to-appear-o.patch (text/plain), 1.29 KB, created by
Katrin Fischer
on 2012-02-19 06:46:28 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 5373 - allow 'cardnumber' to appear on the patron import field list
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-02-19 06:46:28 UTC
Size:
1.29 KB
patch
obsolete
>From c6a66bae4ecd506190e22daaab8e510a29d72bbf Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Thu, 24 Nov 2011 13:35:27 +1300 >Subject: [PATCH] [SIGNED-OFF] Bug 5373 - allow 'cardnumber' to appear on the > patron import field list > >For some reason, it was explicitly removed, however you need it if you >want to match up on cardnumber. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Easy to test and works nicely. >Before patch cardnumber is not shown in the list of fields on the >patron import page. After applying the patch it is. >--- > tools/import_borrowers.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl >index a7e9142..83db522 100755 >--- a/tools/import_borrowers.pl >+++ b/tools/import_borrowers.pl >@@ -62,7 +62,7 @@ my @columnkeys = C4::Members->columns; > if ($extended) { > push @columnkeys, 'patron_attributes'; > } >-my $columnkeystpl = [ map { {'key' => $_} } grep {$_ ne 'borrowernumber' && $_ ne 'cardnumber'} @columnkeys ]; # ref. to array of hashrefs. >+my $columnkeystpl = [ map { {'key' => $_} } grep {$_ ne 'borrowernumber' } @columnkeys ]; # ref. to array of hashrefs. > > my $input = CGI->new(); > our $csv = Text::CSV->new({binary => 1}); # binary needed for non-ASCII Unicode >-- >1.7.5.4
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 5373
:
2801
|
2862
|
6385
| 7749