bugfix: pagination bar has an empty page at the end
[koha.git] / opac / opac-authoritiesdetail.pl
index aa39e05..430f0f2 100755 (executable)
@@ -38,7 +38,6 @@ parameters tables.
 =cut
 
 use strict;
-require Exporter;
 use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
@@ -155,7 +154,10 @@ foreach my $field (@fields) {
     if ( $#subfields_data >= 0 ) {
         my %tag_data;
         $tag_data{tag} =
-          $field->tag() . ' -' . $tagslib->{ $field->tag() }->{lib};
+          $field->tag() 
+          . ' '
+          . C4::Koha::display_marc_indicators($field)
+          . ' - ' . $tagslib->{ $field->tag() }->{lib};
         $tag_data{subfield} = \@subfields_data;
         push( @loop_data, \%tag_data );
     }