From 746f363013cbf3b5dbab4c7d5663158a0eb31bcc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 27 Sep 2016 17:37:45 +0000 Subject: [PATCH] Bug 10455 (QA Followup) Fix record matching in misc/cronjobs/delete_records_via_leader.pl Signed-off-by: Nick Clemens --- misc/cronjobs/delete_records_via_leader.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/delete_records_via_leader.pl b/misc/cronjobs/delete_records_via_leader.pl index d6ff257..6a2218d 100755 --- a/misc/cronjobs/delete_records_via_leader.pl +++ b/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; -- 2.1.4