From 51b421b3290fe0a0502d1c7f0c60612d170b6dee Mon Sep 17 00:00:00 2001 From: kados Date: Tue, 14 Mar 2006 18:00:29 +0000 Subject: [PATCH] adds visibility status to MARC subfields. --- acqui.simple/addbiblio.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index 077dac0479..804000893c 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -178,6 +178,7 @@ sub create_input () { $subfield_data{repeatable}=$tagslib->{$tag}->{$subfield}->{repeatable}; $subfield_data{kohafield}=$tagslib->{$tag}->{$subfield}->{kohafield}; $subfield_data{index} = $i; + $subfield_data{visibility} = "display:none" if ($tagslib->{$tag}->{$subfield}->{hidden}>=2); # it's an authorised field if ($tagslib->{$tag}->{$subfield}->{authorised_value}) { $subfield_data{marc_value}= build_authorized_values_list($tag, $subfield, $value, $dbh,$authorised_values_sth); -- 2.39.5