]> git.koha-community.org Git - koha.git/commit
Bug 11287: make patron import tool take new restrictions system into account
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 22 Nov 2013 14:15:31 +0000 (09:15 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 22:37:12 +0000 (22:37 +0000)
commitb35665ba9dd1f209b500cc160a36d3b4dde1bb74
treeea53de1e293df57b4d6469dfe56fec6a5de7e5f3
parent2626311e5e6a635e97ff9041be1c57217a081acc
Bug 11287: make patron import tool take new restrictions system into account

The import patrons tool will add restrictions in the previous style (
directly to the borrowers table ). This will actually work, but
will result in the restriction being un-removable, and will be
overwritten by any new restrictions.

Test Plan:
1) Apply this patch
2) Import new patrons with debarrments, note the debarment is created
   correctly
3) Import existing patrons with overwrite enabled, note that any new
   debarrment is added, and any existing debarrment is ignored

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Koha/Borrower/Debarments.pm
tools/import_borrowers.pl