koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4 Biblio.pm


From: Chris Cormack
Subject: [Koha-cvs] koha/C4 Biblio.pm
Date: Sat, 01 Apr 2006 21:22:06 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Chris Cormack <address@hidden>  06/04/01 21:22:06

Modified files:
        C4             : Biblio.pm 

Log message:
        Adding a little fake subroutine that a few scripts in the opac depend 
on, can be removed once the opac scripts are rewritten

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Biblio.pm.diff?tr1=1.164&tr2=1.165&r1=text&r2=text

Patches:
Index: koha/C4/Biblio.pm
diff -u koha/C4/Biblio.pm:1.164 koha/C4/Biblio.pm:1.165
--- koha/C4/Biblio.pm:1.164     Wed Mar 29 01:56:25 2006
+++ koha/C4/Biblio.pm   Sat Apr  1 21:22:05 2006
@@ -30,7 +30,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.164 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.165 $' =~ /\d+/g;
                 shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 @ISA = qw(Exporter);
@@ -68,6 +68,7 @@
   &MARCkoha2marcBiblio &MARCmarc2koha
   &MARCkoha2marcItem &MARChtml2marc &MARChtml2xml
   &MARCgetbiblio &MARCgetitem
+  MARCfind_MARCbibid_from_oldbiblionumber
   &XMLgetbiblio
   
   &FindDuplicate
@@ -311,6 +312,15 @@
 
 =cut
 
+
+# old subroutine to provide backwards compatibility.
+# opac-detail breaks without this. Can be removed once opac-detail is fixed
+sub MARCfind_MARCbibid_from_oldbiblionumber {
+    my ($biblionumber)address@hidden;
+    return ($biblionumber);
+    
+}
+
 sub MARCgettagslib {
     my ( $dbh, $forlibrarian, $frameworkcode ) = @_;
     $frameworkcode = "" unless $frameworkcode;
@@ -3002,8 +3012,11 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.164 2006/03/29 01:56:25 rangi Exp $
+# $Id: Biblio.pm,v 1.165 2006/04/01 21:22:05 rangi Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.165  2006/04/01 21:22:05  rangi
+# Adding a little fake subroutine that a few scripts in the opac depend on, 
can be removed once the opac scripts are rewritten
+#
 # Revision 1.164  2006/03/29 01:56:25  rangi
 # Delete isnt working using the extended services method
 #




reply via email to

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