From: Nick Clemens Date: Tue, 27 Sep 2016 17:37:45 +0000 (+0000) Subject: Bug 10455 (QA Followup) X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=47b6f454abb45b13a6f405d0517d8f26512a1c71;p=koha.git 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 --- 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;