From 9247a241ba4839c338dab30a81ec723a99a4ba59 Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 7 Apr 2006 11:45:58 +0000 Subject: [PATCH] rewritting auth_finder for addbiblio to get cloneTag working. incomplete, see mail on koha-devel --- acqui.simple/addbiblio.pl | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index 0ba35c90cf..ce22e21122 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -185,7 +185,7 @@ sub create_input () { $subfield_data{marc_value}= build_authorized_values_list($tag, $subfield, $value, $dbh,$authorised_values_sth); # it's a thesaurus / authority field } elsif ($tagslib->{$tag}->{$subfield}->{authtypecode}) { - $subfield_data{marc_value}=" {$tag}->{$subfield}->{authtypecode}."&index=$i',$i)\">..."; + $subfield_data{marc_value}=" {$tag}->{$subfield}->{authtypecode}','subfield$tag$i')\">..."; # it's a plugin field } elsif ($tagslib->{$tag}->{$subfield}->{'value_builder'}) { # opening plugin. Just check wether we are on a developper computer on a production one @@ -524,15 +524,6 @@ if ($op eq "addbiblio") { $bibid = ""; $oldbiblionumber= ""; } - #unless ($record == -1) { - #FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML and then back again just to fix the encoding - #eval { - # my $uxml = $record->as_xml; - # my $newrecord = MARC::Record::new_from_xml($uxml, 'UTF-8'); - # $record = $newrecord; - #}; - - #} build_tabs ($template, $record, $dbh,$encoding); build_hidden_data; $template->param( -- 2.39.5