[Koha-cvs] CVS: koha/opac opac-ISBDdetail.pl,1.9,1.10 opac-MARCdetail.pl,1.8,1.9

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


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

Modified Files:
	opac-ISBDdetail.pl opac-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: opac-ISBDdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-ISBDdetail.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** opac-ISBDdetail.pl	26 Oct 2005 09:13:11 -0000	1.9
--- opac-ISBDdetail.pl	27 Oct 2005 12:06:12 -0000	1.10
***************
*** 149,153 ****
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchname($value);
      }
  
--- 149,153 ----
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchdetail($value)->{branchname};
      }
  

Index: opac-MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-MARCdetail.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** opac-MARCdetail.pl	26 Oct 2005 09:13:11 -0000	1.8
--- opac-MARCdetail.pl	27 Oct 2005 12:06:12 -0000	1.9
***************
*** 207,211 ****
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchname($value);
      }
  
--- 207,211 ----
     #---- branch
      if ($tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
!        return getbranchdetail($value)->{branchname};
      }
  





More information about the Koha-cvs mailing list