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

(-)a/C4/Items.pm (-2 / +5 lines)
Lines 2709-2715 sub PrepareItemrecordDisplay { Link Here
2709
                                $authorised_lib{$branchcode} = $branchname;
2709
                                $authorised_lib{$branchcode} = $branchname;
2710
                            }
2710
                            }
2711
                        }
2711
                        }
2712
                        $defaultvalue = $defaultvalues->{branchcode} || C4::Context->userenv->{branch};
2712
2713
                        $defaultvalue = C4::Context->userenv->{branch};
2714
                        if ( $defaultvalues and $defaultvalues->{branchcode} ) {
2715
                            $defaultvalue = $defaultvalues->{branchcode};
2716
                        }
2713
2717
2714
                        #----- itemtypes
2718
                        #----- itemtypes
2715
                    } elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) {
2719
                    } elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) {
2716
- 

Return to bug 10088