[Koha-cvs] koha/opac opac-MARCdetail.pl [rel_2_2]
Joshua Ferraro
jmf at kados.org
Tue Feb 21 20:48:50 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:48:50
Modified files:
opac : opac-MARCdetail.pl
Log message:
adding support for LabelMARCView systempref
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/opac/opac-MARCdetail.pl.diff?only_with_tag=rel_2_2&tr1=1.4.2.9&tr2=1.4.2.10&r1=text&r2=text
Patches:
Index: koha/opac/opac-MARCdetail.pl
diff -u koha/opac/opac-MARCdetail.pl:1.4.2.9 koha/opac/opac-MARCdetail.pl:1.4.2.10
--- koha/opac/opac-MARCdetail.pl:1.4.2.9 Sat Feb 4 16:47:21 2006
+++ koha/opac/opac-MARCdetail.pl Tue Feb 21 19:48:50 2006
@@ -149,7 +149,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