Bug 6362: fixes display to re-embed items in OPAC MARC view
authorruth@bywatersolutions.com <ruth@bywatersolutions.com>
Tue, 24 May 2011 19:56:38 +0000 (15:56 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 3 Jun 2011 02:18:51 +0000 (14:18 +1200)
This patch is a followon to repair a side-effect of Bug 5579.  A
similar patch is already pushed to make this change for ISBD view.

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
opac/opac-MARCdetail.pl

index 8e492aa..7544902 100755 (executable)
@@ -61,7 +61,7 @@ my $biblionumber = $query->param('biblionumber');
 my $itemtype     = &GetFrameworkCode($biblionumber);
 my $tagslib      = &GetMarcStructure( 0, $itemtype );
 my $biblio = GetBiblioData($biblionumber);
-my $record = GetMarcBiblio($biblionumber);
+my $record = GetMarcBiblio($biblionumber, 1);
 if ( ! $record ) {
     print $query->redirect("/cgi-bin/koha/errors/404.pl");
     exit;