Bugzilla – Attachment 37540 Details for
Bug 6520
Items don't display when viewing staged records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6520: Display items for staged record - diff view
Bug-6520-Display-items-for-staged-record---diff-vi.patch (text/plain), 1.31 KB, created by
Jonathan Druart
on 2015-04-07 09:50:32 UTC
(
hide
)
Description:
Bug 6520: Display items for staged record - diff view
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-04-07 09:50:32 UTC
Size:
1.31 KB
patch
obsolete
>From 773d66518d60133e727c0332b244c5b5d67532f5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 7 Apr 2015 11:48:37 +0200 >Subject: [PATCH] Bug 6520: Display items for staged record - diff view > >This patchs adds the item information in the diff view. >--- > tools/showdiffmarc.pl | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > >diff --git a/tools/showdiffmarc.pl b/tools/showdiffmarc.pl >index 33881ba..488f39e 100755 >--- a/tools/showdiffmarc.pl >+++ b/tools/showdiffmarc.pl >@@ -65,7 +65,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > ); > > >-$recordBiblionumber =GetMarcBiblio($biblionumber); >+$recordBiblionumber = GetMarcBiblio($biblionumber, 'embed_items'); > if( $recordBiblionumber ) { > $formatted1 = $recordBiblionumber->as_formatted; > my $data = GetBiblioData($biblionumber); >@@ -74,9 +74,8 @@ if( $recordBiblionumber ) { > $errorFormatted1 = 1; > } > >-my ($marc,$encoding) = GetImportRecordMarc($importid); >-if( $marc ) { >- $recordImportid = MARC::Record->new_from_usmarc($marc) ; >+if( $importid ) { >+ $recordImportid = C4::ImportBatch::GetRecordFromImportBiblio( $importid, 'embed_items' ); > $formatted2 = $recordImportid->as_formatted; > my $biblio = GetImportBiblios($importid); > $importTitle = $biblio->[0]->{'title'}; >-- >2.1.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 6520
:
37310
|
37311
|
37344
|
37540
|
37544
|
37552
|
37553
|
37554