From 47b6f454abb45b13a6f405d0517d8f26512a1c71 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 Signed-off-by: Kyle M Hall --- 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 d6ff25784b..6a2218da4b 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.39.5