[Koha-cvs] CVS: koha ISBDdetail.pl,1.7,1.8 MARCdetail.pl,1.32,1.33

Paul POULAIN tipaul at users.sourceforge.net
Thu Oct 27 14:06:14 CEST 2005


Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7393

Modified Files:
	ISBDdetail.pl MARCdetail.pl 
Log Message:
road to normalization : changing API = removing getbranchname, replaced by getbranchdetail (should be getbranch, but this sub already exists and I don't understand what it does...)

Index: ISBDdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/ISBDdetail.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** ISBDdetail.pl	22 Sep 2005 10:01:46 -0000	1.7
--- ISBDdetail.pl	27 Oct 2005 12:06:12 -0000	1.8
***************
*** 133,137 ****
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchname($value);
      }
  
--- 133,137 ----
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchdetail($value)->{branchname};
      }
  

Index: MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/MARCdetail.pl,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** MARCdetail.pl	22 Sep 2005 10:01:46 -0000	1.32
--- MARCdetail.pl	27 Oct 2005 12:06:12 -0000	1.33
***************
*** 236,240 ****
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchname($value);
      }
  
--- 236,240 ----
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchdetail($value)->{branchname};
      }
  





More information about the Koha-cvs mailing list