|
Lines 58-71
my $authid = $query->param('authid');
Link Here
|
| 58 |
my $index = $query->param('index'); |
58 |
my $index = $query->param('index'); |
| 59 |
my $tagid = $query->param('tagid'); |
59 |
my $tagid = $query->param('tagid'); |
| 60 |
my $relationship = $query->param('relationship'); |
60 |
my $relationship = $query->param('relationship'); |
| 61 |
my $authtypecode = Koha::Authorities->find($authid)->authtypecode; |
|
|
| 62 |
my $tagslib = &GetTagsLabels( 1, $authtypecode ); |
| 63 |
|
| 64 |
my $auth_type = Koha::Authority::Types->find($authtypecode); |
| 65 |
my $record; |
| 66 |
if ($authid) { |
| 67 |
$record = GetAuthority($authid); |
| 68 |
} |
| 69 |
|
61 |
|
| 70 |
# open template |
62 |
# open template |
| 71 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
63 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
|
Lines 82-87
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
| 82 |
my @subfield_loop; |
74 |
my @subfield_loop; |
| 83 |
my ($indicator1, $indicator2); |
75 |
my ($indicator1, $indicator2); |
| 84 |
if ($authid) { |
76 |
if ($authid) { |
|
|
77 |
my $authtypecode = Koha::Authorities->find($authid)->authtypecode; |
| 78 |
my $auth_type = Koha::Authority::Types->find($authtypecode); |
| 79 |
my $record = GetAuthority($authid); |
| 85 |
my @fields = $record->field( $auth_type->auth_tag_to_report ); |
80 |
my @fields = $record->field( $auth_type->auth_tag_to_report ); |
| 86 |
my $repet = ($query->param('repet') || 1) - 1; |
81 |
my $repet = ($query->param('repet') || 1) - 1; |
| 87 |
my $field = $fields[$repet]; |
82 |
my $field = $fields[$repet]; |
| 88 |
- |
|
|