diff --git a/authorities/detail.pl b/authorities/detail.pl index 4589c62f83..b2532385d9 100755 --- a/authorities/detail.pl +++ b/authorities/detail.pl @@ -143,7 +143,14 @@ sub build_tabs { . C4::Koha::display_marc_indicators($field) . ' - ' . $tagslib->{$field->tag()}->{lib}; + $tag_data{tag_number} = $tag; + $tag_data{tag_desc} = $tagslib->{$field->tag()}->{lib}; $tag_data{subfield} = \@subfields_data; + if ($tag >= 10){ # no indicator for theses tag + $tag_data{ind1} = $field->indicator(1); + $tag_data{ind2} = $field->indicator(2); + } + push (@loop_data, \%tag_data); } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt index 2dc44b4eda..27aecc9d43 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -64,7 +64,11 @@ [% IF ( innerloo.tag ) %]
- [% innerloo.tag %] + [% innerloo.tag_number | html %] + [% IF (innerloo.defined("ind1") ) %] + [% innerloo.ind1 %][% innerloo.ind2 | html %] + [% END %] + [% IF (innerloo.tag_desc) %] - [% innerloo.tag_desc | html %][% END %]
[% ELSE %]
@@ -72,9 +76,9 @@ [% FOREACH subfiel IN innerloo.subfield %]

- [% subfiel.marc_value %] + [% UNLESS ( subfiel.hide_marc ) %][% subfiel.marc_subfield | html %][% END %] + [% subfiel.short_desc | html %] + [% subfiel.marc_value | html %] [% IF ( subfiel.link ) %]