koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
Date: Wed, 01 Mar 2006 14:36:32 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 06/03/01 14:36:32

Modified files:
        C4             : Biblio.pm 

Log message:
        This seems to be a fully working version -- it supports repeated tags 
and
        subfields, should preserve any order specified in the template, and also
        preserves ALL indicators (not just one per tag set as with the previous
        hash of indicators).

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

Patches:
Index: koha/C4/Biblio.pm
diff -u koha/C4/Biblio.pm:1.115.2.42 koha/C4/Biblio.pm:1.115.2.43
--- koha/C4/Biblio.pm:1.115.2.42        Wed Mar  1 05:52:33 2006
+++ koha/C4/Biblio.pm   Wed Mar  1 14:36:31 2006
@@ -1080,7 +1080,7 @@
                if ($first){
                my $ind1 = substr(@$indicator[$j],0,1);                        
                my $ind2 = substr(@$indicator[$j],1,1);
-               $xml.="<datafield tag=\"@$tags[$j]\" ind1=\"$ind1\" 
ind2=\"$ind2\">\n";
+               $xml.="<datafield tag=\"@$tags[$i]\" ind1=\"$ind1\" 
ind2=\"$ind2\">\n";
                $first=0;
                }
                    $xml.="<subfield 
code=\"@$subfields[$i]\">@$values[$i]</subfield>\n";
@@ -2989,8 +2989,14 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.115.2.42 2006/03/01 05:52:33 kados Exp $
+# $Id: Biblio.pm,v 1.115.2.43 2006/03/01 14:36:31 kados Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.115.2.43  2006/03/01 14:36:31  kados
+# This seems to be a fully working version -- it supports repeated tags and
+# subfields, should preserve any order specified in the template, and also
+# preserves ALL indicators (not just one per tag set as with the previous
+# hash of indicators).
+#
 # Revision 1.115.2.42  2006/03/01 05:52:33  kados
 # Adds support for indicators (still seems to be buggy in some instances
 # of repeated tags)




reply via email to

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