From 9e214aec86b0707f139525e89dd986ef5cda74d3 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Wed, 9 Apr 2014 08:43:23 -0300 Subject: [PATCH] Bug 11885 - followup to remove tabs Signed-off-by: Bernardo Gonzalez Kriegel --- catalogue/MARCdetail.pl | 6 +++--- .../prog/en/modules/catalogue/MARCdetail.tt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 3c7b276..2073ffd 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -150,7 +150,7 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { push( @subfields_data, \%subfield_data ); my %tag_data; $tag_data{tag} = '000'; - $tag_data{tag_desc} = $tagslib->{'000'}->{lib}; + $tag_data{tag_desc} = $tagslib->{'000'}->{lib}; my @tmp = @subfields_data; $tag_data{subfield} = \@tmp; push( @loop_data, \%tag_data ); @@ -238,8 +238,8 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { } else { $tag_data{tag} = $fields[$x_i]->tag(); - $tag_data{tag_ind} = C4::Koha::display_marc_indicators($fields[$x_i]); - $tag_data{tag_desc} = $tagslib->{ $fields[$x_i]->tag() }->{lib}; + $tag_data{tag_ind} = C4::Koha::display_marc_indicators($fields[$x_i]); + $tag_data{tag_desc} = $tagslib->{ $fields[$x_i]->tag() }->{lib}; } } my @tmp = @subfields_data; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index 7d0ec68..b27cb54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -77,9 +77,9 @@ function Changefwk(FwkList) {
[% tab0X.tag %] - [% IF ( tab0X.tag_ind ) %] - [% tab0X.tag_ind.substr(0, 1) %][% tab0X.tag_ind.substr(1, 1) %] - [% END %] + [% IF ( tab0X.tag_ind ) %] + [% tab0X.tag_ind.substr(0, 1) %][% tab0X.tag_ind.substr(1, 1) %] + [% END %] [% IF (tab0X.tag_desc) %] - [% tab0X.tag_desc %][% END %]
[% ELSE %] -- 1.7.9.5