View | Details | Raw Unified | Return to bug 10455
Collapse All | Expand All

(-)a/misc/cronjobs/delete_records_via_leader.pl (-2 / +1 lines)
Lines 71-77 This script has the following parameters : Link Here
71
my $schema = Koha::Database->new()->schema();
71
my $schema = Koha::Database->new()->schema();
72
my @biblioitems = # Should be replaced by a call to C4::Search on zebra index
72
my @biblioitems = # Should be replaced by a call to C4::Search on zebra index
73
                  # Record-status when bug 15537 will be pushed
73
                  # Record-status when bug 15537 will be pushed
74
  $schema->resultset('Biblioitem')->search( { marcxml => { LIKE => '<leader>_____d%' } } );
74
  $schema->resultset('Biblioitem')->search( { marcxml => { LIKE => '%<leader>_____d%' } } );
75
75
76
my $total_records_count   = @biblioitems;
76
my $total_records_count   = @biblioitems;
77
my $deleted_records_count = 0;
77
my $deleted_records_count = 0;
78
- 

Return to bug 10455