[Koha-bugs] [Bug 35264] Update patron import to use protected column

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 6 06:36:01 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35264

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 158486
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158486&action=edit
Bug 35264: Add "protected" column to patron import

This change adds the "protected" column to patron import.

Test plan:
0. Apply the patch and run "restart_all"
1. prove -v t/db_dependent/Koha/Patrons/Import.t
2. Go to http://localhost:8081/cgi-bin/koha/tools/import_borrowers.pl
3. Note "protected" is listed in the "fields you want to supply"
on the right side of the screen
4. Note "protected" appears in file downloaded by clicking
"Download a Starter CSV file with all the columns"
5. Note that "Protected" appears after clicking "Enter default values"
and after clicking "Preserve existing values"

6. For bonus marks, use the "Starter CSV file" to import a test patron
(remember surname, branchcode, and categorycode are the required fields)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list