From e6fa805941348fdf2717887f3eb4f9819f999346 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 10 Oct 2014 07:37:32 -0400 Subject: [PATCH] Bug 12929 [QA Followup] - Hide borrownumber from sample csv file Signed-off-by: Jonathan Druart --- tools/import_borrowers.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index 4bd89aa..55b7e7f 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -62,6 +62,7 @@ my (@errors, @feedback); my $extended = C4::Context->preference('ExtendedPatronAttributes'); my $set_messaging_prefs = C4::Context->preference('EnhancedMessagingPreferences'); my @columnkeys = C4::Members::columns(); +@columnkeys = map { $_ ne 'borrowernumber' ? $_ : () } @columnkeys; if ($extended) { push @columnkeys, 'patron_attributes'; } -- 2.1.0