From a4deb6191f54593082afc5f32075fc8fa858afff Mon Sep 17 00:00:00 2001 From: kados Date: Tue, 21 Feb 2006 19:48:50 +0000 Subject: [PATCH] adding support for LabelMARCView systempref --- opac/opac-MARCdetail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl index 594e2f7b9d..a43c0f2ed4 100755 --- a/opac/opac-MARCdetail.pl +++ b/opac/opac-MARCdetail.pl @@ -149,7 +149,7 @@ for (my $tabloop = 0; $tabloop<=10;$tabloop++) { } 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 { if (C4::Context->preference('hide_marc')) { -- 2.39.5