koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha admin/checkmarc.pl koha-tmpl/intranet-tmpl... [R_2-2-7-1


From: paul poulain
Subject: [Koha-cvs] koha admin/checkmarc.pl koha-tmpl/intranet-tmpl... [R_2-2-7-1]
Date: Tue, 27 Feb 2007 20:13:33 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         R_2-2-7-1
Changes by:     paul poulain <tipaul>   07/02/27 20:13:33

Modified files:
        admin          : checkmarc.pl 
        koha-tmpl/intranet-tmpl/default/en/parameters: checkmarc.tmpl 

Log message:
        BUGFIX : removing "biblionumber and biblioitemnumber MUST be in the 
same MARC tag", as it's no more true (since koha 2.2.4 iirc) : you can have 
biblionumber mapped to a MARC field  and biblioitemnumber mapped to another.
        
        However, the other needs are still valid (they must be mapped and in 
tab -1)
        
        BUG also in 2.2 and rel_3_0 branches

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/admin/checkmarc.pl?cvsroot=koha&only_with_tag=R_2-2-7-1&r1=1.6.2.4&r2=1.6.2.4.6.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/parameters/checkmarc.tmpl?cvsroot=koha&only_with_tag=R_2-2-7-1&r1=1.10.2.1&r2=1.10.2.1.6.1

Patches:
Index: admin/checkmarc.pl
===================================================================
RCS file: /sources/koha/koha/admin/checkmarc.pl,v
retrieving revision 1.6.2.4
retrieving revision 1.6.2.4.6.1
diff -u -b -r1.6.2.4 -r1.6.2.4.6.1
--- admin/checkmarc.pl  5 Feb 2006 21:59:21 -0000       1.6.2.4
+++ admin/checkmarc.pl  27 Feb 2007 20:13:33 -0000      1.6.2.4.6.1
@@ -60,7 +60,7 @@
 $sth = $dbh->prepare("select tagfield,tab from marc_subfield_structure where 
kohafield=\"biblioitems.biblioitemnumber\"");
 $sth->execute;
 my ($res2,$tab2) = $sth->fetchrow;
-if ($res && $res2 && ($res eq $res2) && $tab==-1 && $tab2==-1) {
+if ($res && $res2 && $tab==-1 && $tab2==-1) {
        $template->param(biblionumber => 0);
 } else {
        $template->param(biblionumber => 1);

Index: koha-tmpl/intranet-tmpl/default/en/parameters/checkmarc.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/Attic/checkmarc.tmpl,v
retrieving revision 1.10.2.1
retrieving revision 1.10.2.1.6.1
diff -u -b -r1.10.2.1 -r1.10.2.1.6.1
--- koha-tmpl/intranet-tmpl/default/en/parameters/checkmarc.tmpl        6 Jun 
2005 16:10:57 -0000       1.10.2.1
+++ koha-tmpl/intranet-tmpl/default/en/parameters/checkmarc.tmpl        27 Feb 
2007 20:13:33 -0000      1.10.2.1.6.1
@@ -118,7 +118,6 @@
                        <td><b>biblio and biblionumber</b></td>
                        <td>The biblio.biblionumber and 
biblioitems.biblioitemnumber fields MUST :<br/>
                                <li>be mapped to a MARC subfield,</li>
-                               <li>be in the SAME tag (for example : 090$a and 
090$b)</li>
                                <li>be in tab -1</li></td>
                </tr>
        <!-- TMPL_ELSE -->




reply via email to

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