[Koha] import patrons

Сычев Игорь Алексеевич ias at tpu.ru
Fri Jul 14 04:19:21 NZST 2023


Hello!

Why import_patrons.pl the terminal shows less debugging information than import_borrowers.pl in the browser? Is that the plan?

root at koha:/usr/share/koha/bin# perl import_patrons.pl -f /home/ias/patron.csv --matchpoint cardnumber --confirm --overwrite --preserve-extended-attributes -v

Import complete:
Imported:    1
Overwritten: 1
Skipped:     0
Invalid:     47
Total:       49

/cgi-bin/koha/tools/import_borrowers.pl

Import patrons
Import results :
1 imported records
39 overwritten
0 not imported because already in borrowers table and overwrite disabled
0 not imported because they are not in the expected format
40 records parsed
Back to Tools


Feedback:
headerrow : cardnumber, surname, firstname, middle_name, dateofbirth, othernames, categorycode, branchcode, flags, userid
attribute string :
lastoverwritten : Sychev / 1
...
Content-Disposition : form-data; name="uploadborrowers"; filename="staff-update.csv"
Content-Type : text/csv
Parsing upload file staff-update.csv

Good Luck!

Igor A. Sychev
Tomsk Polytechnic University
https://lib.tpu.ru




More information about the Koha mailing list