Lines 2380-2393
sub AddReturn {
Link Here
|
2380 |
); |
2380 |
); |
2381 |
} |
2381 |
} |
2382 |
} else { |
2382 |
} else { |
|
|
2383 |
my $error = "$@"; |
2383 |
carp |
2384 |
carp |
2384 |
"The checkin for the following issue failed, Please go to the about page and check all messages on the 'System information' to see if there are configuration / data issues ($@)" |
2385 |
"The checkin for the following issue failed, Please go to the about page and check all messages on the 'System information' to see if there are configuration / data issues, or see the specific message in parentheses ($@)" |
2385 |
. Dumper( $issue->unblessed ); |
2386 |
. Dumper( $issue->unblessed ); |
2386 |
|
2387 |
|
2387 |
my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } ); |
2388 |
my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } ); |
2388 |
$indexer->index_records( $item->biblionumber, "specialUpdate", "biblioserver" ); |
2389 |
$indexer->index_records( $item->biblionumber, "specialUpdate", "biblioserver" ); |
2389 |
|
2390 |
|
2390 |
return ( 0, { WasReturned => 0, DataCorrupted => 1 }, $issue, $patron_unblessed ); |
2391 |
return ( |
|
|
2392 |
0, { WasReturned => 0, DataCorrupted => $error }, $issue, |
2393 |
$patron_unblessed |
2394 |
); |
2391 |
} |
2395 |
} |
2392 |
|
2396 |
|
2393 |
# FIXME is the "= 1" right? This could be the borrower hash. |
2397 |
# FIXME is the "= 1" right? This could be the borrower hash. |