Lines 69-78
elsif ( $op eq "delete_record" ) {
Link Here
|
69 |
if ( $all or $checkouts ) { |
69 |
if ( $all or $checkouts ) { |
70 |
|
70 |
|
71 |
# delete all reading records for items returned |
71 |
# delete all reading records for items returned |
72 |
my $rows = eval { |
72 |
my $rows = eval { $patron->old_checkouts->anonymize + 0 }; |
73 |
Koha::Patrons->search( { 'me.borrowernumber' => $borrowernumber } ) |
|
|
74 |
->anonymise_issue_history; |
75 |
}; |
76 |
|
73 |
|
77 |
$template->param( |
74 |
$template->param( |
78 |
( |
75 |
( |
79 |
- |
|
|