[Koha-bugs] [Bug 35061] Add support to preserve patron category code when importing patrons with commandline script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 16 03:00:47 CEST 2023


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

--- Comment #1 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 157180
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157180&action=edit
Bug 35061: Preserve categorycode when importing patrons

This patch should preserve category codes when importing patrons using
misc/import_patrons.pl

Use case:

/usr/share/koha/bin/import_patrons.pl --file patrons.csv  --matchpoint userid
--default branchcode=C --overwrite --preserve-categorycode --verbose --confirm

To test, use a file with a column categorycode. Confirm that new patrons added
from the spreadsheet by the file are added to the database with the correct
category code. Confirm existing patrons that are overwritten receive the
categorycode from the spreadsheet.

Sponsored-by: Auckland University of Technology

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


More information about the Koha-bugs mailing list