[Koha-cvs] koha MARCdetail.pl [rel_2_2]

Joshua Ferraro jmf at kados.org
Tue Feb 21 20:57:30 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/02/21 19:57:30

Modified files:
	.              : MARCdetail.pl 

Log message:
	adding support for LabelMARCView syspref

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/MARCdetail.pl.diff?only_with_tag=rel_2_2&tr1=1.25.2.19&tr2=1.25.2.20&r1=text&r2=text

Patches:
Index: koha/MARCdetail.pl
diff -u koha/MARCdetail.pl:1.25.2.19 koha/MARCdetail.pl:1.25.2.20
--- koha/MARCdetail.pl:1.25.2.19	Sun Feb  5 21:59:20 2006
+++ koha/MARCdetail.pl	Tue Feb 21 19:57:30 2006
@@ -177,7 +177,7 @@
 		}
 		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')) {





More information about the Koha-cvs mailing list