Bugzilla – Attachment 58933 Details for
Bug 17196
Move marcxml out of the biblioitems table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17196: Fix delete_records_via_leader.pl
Bug-17196-Fix-deleterecordsvialeaderpl.patch (text/plain), 1.22 KB, created by
Marcel de Rooy
on 2017-01-13 09:41:46 UTC
(
hide
)
Description:
Bug 17196: Fix delete_records_via_leader.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-01-13 09:41:46 UTC
Size:
1.22 KB
patch
obsolete
>From e796f0c4fc90e143862df26a34b647904e381f31 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 29 Dec 2016 02:16:21 +0000 >Subject: [PATCH] Bug 17196: Fix delete_records_via_leader.pl >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/cronjobs/delete_records_via_leader.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/misc/cronjobs/delete_records_via_leader.pl b/misc/cronjobs/delete_records_via_leader.pl >index 0b19d38..baba5dc 100755 >--- a/misc/cronjobs/delete_records_via_leader.pl >+++ b/misc/cronjobs/delete_records_via_leader.pl >@@ -36,6 +36,7 @@ use Getopt::Long; > use C4::Biblio; > use C4::Items; > use Koha::Database; >+use Koha::Biblioitems; > use Koha::Biblio::Metadatas; > > my $delete_items; >@@ -85,7 +86,7 @@ foreach my $m (@metadatas) { > > if ($delete_items) { > my $deleted_count = 0; >- my $biblioitem = Koha::Biblioitem->find( $biblionumber ); >+ my $biblioitem = Koha::Biblioitems->find( $biblionumber ); > foreach my $item ( $biblioitem->items() ) { > my $itemnumber = $item->itemnumber(); > >-- >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 17196
:
54910
|
54911
|
54912
|
54913
|
54914
|
54918
|
55856
|
55857
|
55858
|
55859
|
55860
|
55904
|
55905
|
55906
|
55907
|
55908
|
55921
|
55922
|
55950
|
55951
|
56038
|
57835
|
57836
|
57837
|
57838
|
57839
|
57840
|
57841
|
57842
|
58000
|
58007
|
58008
|
58023
|
58024
|
58025
|
58026
|
58027
|
58028
|
58029
|
58030
|
58031
|
58032
|
58037
|
58038
|
58039
|
58040
|
58041
|
58042
|
58043
|
58044
|
58045
|
58046
|
58047
|
58048
|
58504
|
58505
|
58506
|
58507
|
58508
|
58509
|
58510
|
58511
|
58512
|
58513
|
58514
|
58516
|
58517
|
58923
|
58924
|
58925
|
58926
|
58927
|
58928
|
58929
|
58930
|
58931
|
58932
| 58933 |
58934
|
58935
|
58936
|
58937
|
58938
|
58939
|
58943
|
58946
|
58947