Bugzilla – Attachment 37553 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]
[PASSED QA] Bug 6520: Display items for staged record - diff view
PASSED-QA-Bug-6520-Display-items-for-staged-record.patch (text/plain), 1.38 KB, created by
Katrin Fischer
on 2015-04-07 20:13:36 UTC
(
hide
)
Description:
[PASSED QA] Bug 6520: Display items for staged record - diff view
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-04-07 20:13:36 UTC
Size:
1.38 KB
patch
obsolete
>From c3da076e7312777569b3512f84499f62af83f200 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] [PASSED QA] Bug 6520: Display items for staged record - diff > view > >This patchs adds the item information in the diff view. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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'}; >-- >1.9.1
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