View | Details | Raw Unified | Return to bug 5879
Collapse All | Expand All

(-)a/C4/Biblio.pm (-2 / +9 lines)
Lines 755-761 sub GetISBDView { Link Here
755
    my ( $holdingbrtagf, $holdingbrtagsubf ) = &GetMarcFromKohaField( "items.holdingbranch", $itemtype );
755
    my ( $holdingbrtagf, $holdingbrtagsubf ) = &GetMarcFromKohaField( "items.holdingbranch", $itemtype );
756
    my $tagslib = &GetMarcStructure( 1, $itemtype );
756
    my $tagslib = &GetMarcStructure( 1, $itemtype );
757
757
758
    my $ISBD = C4::Context->preference('ISBD');
758
    my $ISBD = C4::Context->preference('isbd');
759
    my $bloc = $ISBD;
759
    my $bloc = $ISBD;
760
    my $res;
760
    my $res;
761
    my $blocres;
761
    my $blocres;
Lines 2289-2294 sub PrepareItemrecordDisplay { Link Here
2289
                        $defaultvalue = $defaultvalues->{branchcode} if $defaultvalues;
2289
                        $defaultvalue = $defaultvalues->{branchcode} if $defaultvalues;
2290
                    }
2290
                    }
2291
                }
2291
                }
2292
                if (   ( $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.location' )
2293
                    && $defaultvalues
2294
                    && $defaultvalues->{'location'} ) {
2295
                    my $temp = $itemrecord->field($subfield) if ($itemrecord);
2296
                    unless ($temp) {
2297
                        $defaultvalue = $defaultvalues->{location} if $defaultvalues;
2298
                    }
2299
                }
2292
                if ( $tagslib->{$tag}->{$subfield}->{authorised_value} ) {
2300
                if ( $tagslib->{$tag}->{$subfield}->{authorised_value} ) {
2293
                    my @authorised_values;
2301
                    my @authorised_values;
2294
                    my %authorised_lib;
2302
                    my %authorised_lib;
2295
- 

Return to bug 5879