@@ -, +, @@ display --- authorities/detail.pl | 7 +++++++ koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) --- a/authorities/detail.pl +++ a/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); } } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -65,7 +65,11 @@ [% IF ( innerloo.tag ) %]
- [% innerloo.tag | html %] + [% innerloo.tag_number | html %] + [% IF (innerloo.defined("ind1") ) %] + [% innerloo.ind1 %][% innerloo.ind2 | html %] + [% END %] + [% IF (innerloo.tag_desc) %] - [% innerloo.tag_desc | html %][% END %]
[% ELSE %]
@@ -74,7 +78,7 @@

+ [% subfiel.short_desc | html %] [% subfiel.marc_value | html %] [% IF ( subfiel.link ) %] --