From 927c640bb07e155afe4a7b5de387405b46e3ca9e Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 18 Dec 2007 19:25:30 -0600 Subject: [PATCH] Fix for bug 1617, LabelMARCview not being used Signed-off-by: Joshua Ferraro --- catalogue/MARCdetail.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index c44a0423a8..0e8fcb8f51 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -210,11 +210,11 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { } if ( $#subfields_data == 0 ) { $subfields_data[0]->{marc_lib} = ''; - $subfields_data[0]->{marc_subfield} = ''; +# $subfields_data[0]->{marc_subfield} = ''; } - if ( $#subfields_data >= 0 ) { + if ( $#subfields_data >= 0) { my %tag_data; - if ( $fields[$x_i]->tag() eq $fields[ $x_i - 1 ]->tag() ) { + if ( $fields[$x_i]->tag() eq $fields[ $x_i - 1 ]->tag() && (C4::Context->preference('LabelMARCView') eq 'economical')) { $tag_data{tag} = ""; } else { -- 2.39.5