From f4ab73fff2507ed012f5c2afd75fde468c14315c Mon Sep 17 00:00:00 2001 From: rangi Date: Tue, 21 Feb 2006 00:11:06 +0000 Subject: [PATCH] Using get_record() from C4::Search now (ie fetching the record from zebra) --- opac/opac-ISBDdetail.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index bcb91c11da..580df9cfb2 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -65,12 +65,13 @@ my $dbh=C4::Context->dbh; my $biblionumber=$query->param('bib'); my $bibid = $query->param('bibid'); -$bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber) unless $bibid; -$biblionumber = &MARCfind_oldbiblionumber_from_MARCbibid($dbh,$bibid) unless $biblionumber; -my $itemtype = &MARCfind_frameworkcode($dbh,$bibid); +#$bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber) unless $bibid; +#$biblionumber = &MARCfind_oldbiblionumber_from_MARCbibid($dbh,$bibid) unless $biblionumber; +#my $itemtype = &MARCfind_frameworkcode($dbh,$bibid); +my $itemtype=""; my $tagslib = &MARCgettagslib($dbh,1,$itemtype); -my $record =MARCgetbiblio($dbh,$bibid); +my $record =get_record($biblionumber); #coping with subscriptions my $subscriptionsnumber = getsubscriptionfrombiblionumber($biblionumber); -- 2.39.5