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

(-)a/C4/Search.pm (-3 / +2 lines)
Lines 1783-1789 sub searchResults { Link Here
1783
        my $item_obj = Koha::Items->find( $item->{itemnumber} );
1783
        my $item_obj = Koha::Items->find( $item->{itemnumber} );
1784
        return $item->{homebranch} unless $item_obj;
1784
        return $item->{homebranch} unless $item_obj;
1785
1785
1786
        my $effective_homebranch = $item_obj->effective_homebranch->branchcode;
1786
        my $effective_homebranch = $item_obj->effective_homebranch;
1787
1787
1788
        # If it starts with "DISPLAY:", validate against displays table
1788
        # If it starts with "DISPLAY:", validate against displays table
1789
        if ( $effective_homebranch =~ /^DISPLAY:\s*(.+)$/ ) {
1789
        if ( $effective_homebranch =~ /^DISPLAY:\s*(.+)$/ ) {
Lines 1808-1814 sub searchResults { Link Here
1808
        my $item_obj = Koha::Items->find( $item->{itemnumber} );
1808
        my $item_obj = Koha::Items->find( $item->{itemnumber} );
1809
        return $item->{holdingbranch} unless $item_obj;
1809
        return $item->{holdingbranch} unless $item_obj;
1810
1810
1811
        my $effective_holdingbranch = $item_obj->effective_holdingbranch->branchcode;
1811
        my $effective_holdingbranch = $item_obj->effective_holdingbranch;
1812
1812
1813
        # If it starts with "DISPLAY:", validate against displays table
1813
        # If it starts with "DISPLAY:", validate against displays table
1814
        if ( $effective_holdingbranch =~ /^DISPLAY:\s*(.+)$/ ) {
1814
        if ( $effective_holdingbranch =~ /^DISPLAY:\s*(.+)$/ ) {
1815
- 

Return to bug 14962