From c3c473b1b93be689bcf2b2285bd6a198406cd227 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 Signed-off-by: Katrin Fischer Works as described, hides the borrowernumber from the list of fields to edit and also brings back the list of fields for the sample file in the documentation. Passes tests and QA script. Signed-off-by: Tomas Cohen Arazi --- tools/import_borrowers.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index 4bd89aadf1..55b7e7f8b2 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.39.5