Bugzilla – Attachment 66477 Details for
Bug 19040
Change prototype of C4::Biblio::GetMarcBiblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19040: Update 2 occurrences of GetMarcBiblio in 22_to_30
Bug-19040-Update-2-occurrences-of-GetMarcBiblio-in.patch (text/plain), 1.66 KB, created by
Jonathan Druart
on 2017-08-25 13:35:21 UTC
(
hide
)
Description:
Bug 19040: Update 2 occurrences of GetMarcBiblio in 22_to_30
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-25 13:35:21 UTC
Size:
1.66 KB
patch
obsolete
>From fdde855a460ee51264972889f3f30426519e6e3a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 25 Aug 2017 10:34:48 -0300 >Subject: [PATCH] Bug 19040: Update 2 occurrences of GetMarcBiblio in 22_to_30 > >--- > misc/migration_tools/22_to_30/missing090field.pl | 2 +- > misc/migration_tools/22_to_30/rebuild_unimarc_100.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/misc/migration_tools/22_to_30/missing090field.pl b/misc/migration_tools/22_to_30/missing090field.pl >index bfa85760af..5d386330ef 100755 >--- a/misc/migration_tools/22_to_30/missing090field.pl >+++ b/misc/migration_tools/22_to_30/missing090field.pl >@@ -26,7 +26,7 @@ $sth->execute(); > > my $i=1; > while (my ($biblionumber,$biblioitemnumber)=$sth->fetchrow ){ >- my $record = GetMarcBiblio($biblionumber); >+ my $record = GetMarcBiblio({ biblionumber => $biblionumber }); > print "."; > print "\r$i" unless $i %100; > MARCmodbiblionumber($biblionumber,$biblioitemnumber,$record); >diff --git a/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl b/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl >index 320ced2684..3b3e3cdd91 100755 >--- a/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl >+++ b/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl >@@ -29,7 +29,7 @@ print "Creating/updating field 100 if needed\n"; > while (my ($biblionumber,$time)=$sth->fetchrow ){ > # my $record; > # print "record : $biblionumber \n"; >- my $record = GetMarcBiblio($biblionumber); >+ my $record = GetMarcBiblio({ biblionumber => $biblionumber }); > # print "=> ".$record->as_formatted; > MARCmodrecord($biblionumber,$record,$time) if ($record); > # >-- >2.11.0
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 19040
:
65531
|
65695
|
66101
|
66145
|
66457
|
66458
| 66477