Bugzilla – Attachment 14115 Details for
Bug 7368
General staff client typo omnibus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
7368 GetXmlBiblio
7368-GetXmlBiblio.patch (text/plain), 2.05 KB, created by
Mirko Tietgen
on 2012-12-14 09:57:17 UTC
(
hide
)
Description:
7368 GetXmlBiblio
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2012-12-14 09:57:17 UTC
Size:
2.05 KB
patch
obsolete
>From b18a2863990bf974915dc5594e9c7dbd29ec4ac5 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 10 Dec 2012 09:30:08 +0100 >Subject: [PATCH] 7368 GetXmlBiblio > >Only changing some documentation about GetXmlBiblio > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >Added the word 'contain' >--- > C4/Biblio.pm | 2 +- > C4/ImportBatch.pm | 1 + > tools/export.pl | 2 +- > 3 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index d64acfb..7645ac4 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -1288,7 +1288,7 @@ sub GetMarcBiblio { > my $marcxml = GetXmlBiblio($biblionumber); > > Returns biblioitems.marcxml of the biblionumber passed in parameter. >-The XML contains both biblio & item datas >+The XML should only contain biblio information (item information is no longer stored in marcxml field) > > =cut > >diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm >index 15f1acb..5f46613 100644 >--- a/C4/ImportBatch.pm >+++ b/C4/ImportBatch.pm >@@ -621,6 +621,7 @@ sub BatchCommitRecords { > > # remove item fields so that they don't get > # added again if record is reverted >+ # FIXME: GetXmlBiblio output should not contain item info any more! So the next foreach should not be needed. Does not hurt either; may remove old 952s that should not have been there anymore. > my $old_marc = MARC::Record->new_from_xml(StripNonXmlChars($oldxml), 'UTF-8', $rowref->{'encoding'}, $marc_type); > foreach my $item_field ($old_marc->field($item_tag)) { > $old_marc->delete_field($item_field); >diff --git a/tools/export.pl b/tools/export.pl >index c7a8fd8..0415a3a 100755 >--- a/tools/export.pl >+++ b/tools/export.pl >@@ -22,7 +22,7 @@ use Getopt::Long; > use CGI; > use C4::Auth; > use C4::AuthoritiesMarc; # GetAuthority >-use C4::Biblio; # GetMarcBiblio GetXmlBiblio >+use C4::Biblio; # GetMarcBiblio > use C4::Branch; # GetBranches > use C4::Csv; > use C4::Koha; # GetItemTypes >-- >1.7.2.5
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 7368
:
6867
|
8179
|
8925
|
9496
|
9497
|
9564
|
10191
|
10457
|
10458
|
10937
|
10939
|
10956
|
11048
|
11069
|
11189
|
11760
|
11761
|
13395
|
13443
|
13446
|
13971
|
14114
|
14115
|
14263
|
16095
|
17182
|
17183
|
17452
|
17785
|
17817
|
18400
|
18401
|
18407
|
19206
|
19208
|
19230
|
19258