@@ -, +, @@ import surname firstname branchcode categorycode cardnumber dateenrolled dateexpiry Acosta Edna CPL PT 23529001000463 02/01/2013 a) --file b) --matchpoint cardnumber c) --confirm d) --overwrite --- Koha/Patrons/Import.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/Koha/Patrons/Import.pm +++ a/Koha/Patrons/Import.pm @@ -283,6 +283,8 @@ sub import_patrons { next if $col eq 'password' && !$overwrite_passwords; next if $col eq 'dateexpiry' && $update_dateexpiry; + $borrower{$col} = $member->{$col} if $col eq 'dateexpiry' && !$columns[ $csvkeycol{$col} ]; + unless ( exists( $csvkeycol{$col} ) || $defaults->{$col} ) { $borrower{$col} = $member->{$col} if ( $member->{$col} ); } --