koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/opac opac-detail.pl [dev_week]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/opac opac-detail.pl [dev_week]
Date: Mon, 04 Dec 2006 05:41:43 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Joshua Ferraro <kados>  06/12/04 05:41:43

Modified files:
        opac           : opac-detail.pl 

Log message:
        fix for bug 1227: Series information not displaying reliably

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.14.2.19.2.6&r2=1.14.2.19.2.7

Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.19.2.6
retrieving revision 1.14.2.19.2.7
diff -u -b -r1.14.2.19.2.6 -r1.14.2.19.2.7
--- opac-detail.pl      19 Sep 2006 20:35:50 -0000      1.14.2.19.2.6
+++ opac-detail.pl      4 Dec 2006 05:41:43 -0000       1.14.2.19.2.7
@@ -69,16 +69,20 @@
 
 #preformat isbn for amazon content
 my @results = ($dat,);
+my $marcnotesarray;
 if (C4::Boolean::true_p($marc)) {
        my $dbh = C4::Context->dbh;
        my $bibid = 
&MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber);
        my $marcflavour = C4::Context->preference("marcflavour");
        my $marcurlsarray = &getMARCurls($dbh,$bibid,$marcflavour);
        $results[0]->{MARCURLS} = $marcurlsarray;
-       my $marcnotesarray = &getMARCnotes($dbh,$bibid,$marcflavour);
+       $marcnotesarray = &getMARCnotes($dbh,$bibid,$marcflavour);
        $results[0]->{MARCNOTES} = $marcnotesarray;
        my $marcsubjctsarray = &getMARCsubjects($dbh,$bibid,$marcflavour);
        $results[0]->{MARCSUBJCTS} = $marcsubjctsarray;
+    my $marcseriesarray = &getMARCseries($dbh,$bibid,$marcflavour);
+       $results[0]->{MARCSERIES} = $marcseriesarray;
+
 #      $template->param(MARCNOTES => $marcnotesarray);
 #      $template->param(MARCSUBJCTS => $marcsubjctsarray);
 }
@@ -99,7 +103,9 @@
                $template->param(showreviews => 1);
        }
 
-$template->param(BIBLIO_RESULTS => $resultsarray,
+$template->param(
+                               MARCNOTES => $marcnotesarray,
+                               BIBLIO_RESULTS => $resultsarray,
                                ITEM_RESULTS => $itemsarray,
                                WEB_RESULTS => $webarray,
                                SITE_RESULTS => $sitearray,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]