Lines 2485-2498
sub AddReturn {
Link Here
|
2485 |
); |
2485 |
); |
2486 |
} |
2486 |
} |
2487 |
} else { |
2487 |
} else { |
|
|
2488 |
my $error = "$@"; |
2488 |
carp |
2489 |
carp |
2489 |
"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 ($@)" |
2490 |
"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 ($@)" |
2490 |
. Dumper( $issue->unblessed ); |
2491 |
. Dumper( $issue->unblessed ); |
2491 |
|
2492 |
|
2492 |
my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } ); |
2493 |
my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } ); |
2493 |
$indexer->index_records( $item->biblionumber, "specialUpdate", "biblioserver" ); |
2494 |
$indexer->index_records( $item->biblionumber, "specialUpdate", "biblioserver" ); |
2494 |
|
2495 |
|
2495 |
return ( 0, { WasReturned => 0, DataCorrupted => 1 }, $issue, $patron_unblessed ); |
2496 |
return ( |
|
|
2497 |
0, { WasReturned => 0, DataCorrupted => $error }, $issue, |
2498 |
$patron_unblessed |
2499 |
); |
2496 |
} |
2500 |
} |
2497 |
|
2501 |
|
2498 |
# FIXME is the "= 1" right? This could be the borrower hash. |
2502 |
# FIXME is the "= 1" right? This could be the borrower hash. |