@@ -, +, @@ delete_records_via_leader.pl --- misc/cronjobs/delete_records_via_leader.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/misc/cronjobs/delete_records_via_leader.pl +++ a/misc/cronjobs/delete_records_via_leader.pl @@ -69,8 +69,9 @@ This script has the following parameters : } my $schema = Koha::Database->new()->schema(); -my @biblioitems = - $schema->resultset('Biblioitem')->search( { marc => { LIKE => '_____d%' } } ); +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%' } } ); my $total_records_count = @biblioitems; my $deleted_records_count = 0; --