@@ -, +, @@
- Apply patch
- Go to Home > Tools > Import patrons
- Select a file to import and check new checkbox 'Create patron list'
- Import file
- Verify that in import results you see the time stamped name of the
patronlist containig the imported patrons (if any patrons were imported)
- Go to Home > Tools > Patron lists
- Verify that the list shows up and contains the imported patrons
---
.../prog/en/modules/tools/import_borrowers.tt | 9 +++++++++
tools/import_borrowers.pl | 23 ++++++++++++++++++++++
2 files changed, 32 insertions(+)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt
@@ -37,6 +37,9 @@
Import results :
[% imported %] imported records [% IF ( lastimported ) %](last was [% lastimported %])[% END %]
+ [% IF imported and patronlistname %]
+
Patronlist with imported patrons: [% patronlistname %]
+ [% END %]
[% overwritten %] overwritten [% IF ( lastoverwritten ) %](last was [% lastoverwritten %])[% END %]
[% alreadyindb %] not imported because already in borrowers table and overwrite disabled [% IF ( lastalreadyindb ) %](last was [% lastalreadyindb %])[% END %]
[% invalid %] not imported because they are not in the expected format [% IF ( lastinvalid ) %](last was [% lastinvalid %])[% END %]
@@ -113,6 +116,12 @@
+
+
+
+ List name will be file name with timestamp
+