|
Lines 128-133
sub import_patrons {
Link Here
|
| 128 |
push @missing_criticals, { key => $key, line => $., lineraw => $borrowerline }; |
128 |
push @missing_criticals, { key => $key, line => $., lineraw => $borrowerline }; |
| 129 |
} |
129 |
} |
| 130 |
else { |
130 |
else { |
|
|
131 |
next if grep { $key eq $_ } ('date_renewed','flags','gonenoaddress','lastseen','login_attempts','lost','updated_on','privacy_guarantor_checkouts'); |
| 131 |
$borrower{$key} = ''; |
132 |
$borrower{$key} = ''; |
| 132 |
} |
133 |
} |
| 133 |
} |
134 |
} |
|
Lines 419-425
Returns an array of borrowers' table columns.
Link Here
|
| 419 |
|
420 |
|
| 420 |
sub set_column_keys { |
421 |
sub set_column_keys { |
| 421 |
my ($self, $extended) = @_; |
422 |
my ($self, $extended) = @_; |
| 422 |
|
|
|
| 423 |
my @columnkeys = map { $_ ne 'borrowernumber' ? $_ : () } Koha::Patrons->columns(); |
423 |
my @columnkeys = map { $_ ne 'borrowernumber' ? $_ : () } Koha::Patrons->columns(); |
| 424 |
push( @columnkeys, 'patron_attributes' ) if $extended; |
424 |
push( @columnkeys, 'patron_attributes' ) if $extended; |
| 425 |
|
425 |
|
| 426 |
- |
|
|