@@ -, +, @@ --- misc/cronjobs/delete_records_via_leader.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/misc/cronjobs/delete_records_via_leader.pl +++ a/misc/cronjobs/delete_records_via_leader.pl @@ -71,7 +71,7 @@ This script has the following parameters : my $schema = Koha::Database->new()->schema(); my @biblioitems = # Should be replaced by a call to C4::Search on zebra index # Record-status when bug 15537 will be pushed - $schema->resultset('Biblioitem')->search( { marcxml => { LIKE => '_____d%' } } ); + $schema->resultset('Biblioitem')->search( { marcxml => { LIKE => '%_____d%' } } ); my $total_records_count = @biblioitems; my $deleted_records_count = 0; --