[Koha-cvs] CVS: koha/acqui.simple addbiblio.pl,1.52.2.2,1.52.2.3

Paul POULAIN tipaul at users.sourceforge.net
Tue Mar 1 14:22:11 CET 2005


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

Modified Files:
      Tag: rel_2_2
	addbiblio.pl 
Log Message:
bugfix : the call must be done with authtypecode, not category (better/more classic API : the parameter has the name of the DB field)

Index: addbiblio.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbiblio.pl,v
retrieving revision 1.52.2.2
retrieving revision 1.52.2.3
diff -C2 -r1.52.2.2 -r1.52.2.3
*** addbiblio.pl	14 Feb 2005 17:26:24 -0000	1.52.2.2
--- addbiblio.pl	1 Mar 2005 13:22:08 -0000	1.52.2.3
***************
*** 177,181 ****
  	# it's a thesaurus / authority field
  	} elsif ($tagslib->{$tag}->{$subfield}->{authtypecode}) {
! 		$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"47\" maxlength=\"255\" DISABLE READONLY> <a href=\"javascript:Dopop('../authorities/auth_finder.pl?category=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$i',$i)\">...</a>";
  	# it's a plugin field
  	} elsif ($tagslib->{$tag}->{$subfield}->{'value_builder'}) {
--- 177,181 ----
  	# it's a thesaurus / authority field
  	} elsif ($tagslib->{$tag}->{$subfield}->{authtypecode}) {
! 		$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"47\" maxlength=\"255\" DISABLE READONLY> <a href=\"javascript:Dopop('../authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$i',$i)\">...</a>";
  	# it's a plugin field
  	} elsif ($tagslib->{$tag}->{$subfield}->{'value_builder'}) {





More information about the Koha-cvs mailing list