From: tipaul Date: Thu, 16 Sep 2004 09:45:44 +0000 (+0000) Subject: bugfix : report only the "tagtoreport" field X-Git-Tag: R_2_2_4~1300 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=270c5b138795a90c14654f83ba74d8d3d53a7971;p=koha_ffzg bugfix : report only the "tagtoreport" field --- diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl index 1a4c56be77..320e0cdda7 100755 --- a/authorities/blinddetail-biblio-search.pl +++ b/authorities/blinddetail-biblio-search.pl @@ -79,7 +79,8 @@ my @loop_data =(); my $tag; my @loop_data =(); if ($authid) { - foreach my $field ($record->fields($auth_type->{auth_tag_to_report})) { +warn "report $authtypecode => ".$auth_type->{auth_tag_to_report}.$record->as_formatted; + foreach my $field ($record->field($auth_type->{auth_tag_to_report})) { my @subfields_data; my @subf=$field->subfields; # loop through each subfield