koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Joshua Ferraro
Subject: [Koha-cvs] koha MARCdetail.pl [rel_2_2]
Date: Tue, 21 Feb 2006 19:57:30 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 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')) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]