Bugzilla – Attachment 55853 Details for
Bug 10455
remove redundant 'biblioitems.marc' field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10455 (QA Followup)
Bug-10455-QA-Followup.patch (text/plain), 1.15 KB, created by
Nick Clemens
on 2016-09-27 17:47:06 UTC
(
hide
)
Description:
Bug 10455 (QA Followup)
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2016-09-27 17:47:06 UTC
Size:
1.15 KB
patch
obsolete
>From 746f363013cbf3b5dbab4c7d5663158a0eb31bcc Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <nick@bywatersolutions.com> >--- > 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 => '<leader>_____d%' } } ); >+ $schema->resultset('Biblioitem')->search( { marcxml => { LIKE => '%<leader>_____d%' } } ); > > my $total_records_count = @biblioitems; > my $deleted_records_count = 0; >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10455
:
54844
|
54845
|
54846
|
54847
|
54849
|
54850
|
54855
|
54856
|
54857
|
54858
|
54859
|
54860
|
54875
|
54881
|
55401
|
55402
|
55403
|
55404
|
55405
|
55406
|
55407
|
55408
|
55409
|
55410
|
55844
|
55845
|
55846
|
55847
|
55848
|
55849
|
55850
|
55851
|
55852
| 55853