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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-2 / +2 lines)
Lines 292-298 Link Here
292
                                                    [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
292
                                                    [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
293
                                                        <li>
293
                                                        <li>
294
                                                            <strong>[% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]</strong>
294
                                                            <strong>[% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]</strong>
295
                                                            <span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location, opac => 1 ) | html %]</span>
295
                                                            <span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.effective_location, opac => 1 ) | html %]</span>
296
                                                            [% IF ( ITEM_RESULT.itemcallnumber ) %]
296
                                                            [% IF ( ITEM_RESULT.itemcallnumber ) %]
297
                                                                ([% ITEM_RESULT.itemcallnumber | html %])
297
                                                                ([% ITEM_RESULT.itemcallnumber | html %])
298
                                                            [% END %]
298
                                                            [% END %]
Lines 374-380 Link Here
374
                                                        >[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
374
                                                        >[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
375
                                                            <li>
375
                                                            <li>
376
                                                                [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
376
                                                                [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
377
                                                                <span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location, opac => 1 ) | html %]</span>
377
                                                                <span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.effective_location, opac => 1 ) | html %]</span>
378
                                                                <span class="ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ITEM_RESULT.ccode, opac => 1 ) | html %]</span>
378
                                                                <span class="ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ITEM_RESULT.ccode, opac => 1 ) | html %]</span>
379
                                                                [% IF ( ITEM_RESULT.itemcallnumber ) %]
379
                                                                [% IF ( ITEM_RESULT.itemcallnumber ) %]
380
                                                                    ([% ITEM_RESULT.itemcallnumber | html %])
380
                                                                    ([% ITEM_RESULT.itemcallnumber | html %])
(-)a/opac/opac-detail.pl (-3 / +9 lines)
Lines 739-746 if ( not $viewallitems and $items->count > $max_items_to_display ) { Link Here
739
            && defined($copynumber)
739
            && defined($copynumber)
740
            && exists( $copynumbers->{$copynumber} ) );
740
            && exists( $copynumbers->{$copynumber} ) );
741
741
742
        if ( defined $item->location ) {
742
        if ( defined $item->effective_location ) {
743
            $item_info->{'location_description'} = $shelflocations->{ $item->location };
743
            my $effective_loc = $item->effective_location;
744
745
            # If it starts with "DISPLAY:", use it as-is, otherwise look it up
746
            if ( $effective_loc =~ /^DISPLAY:/ ) {
747
                $item_info->{'location_description'} = $effective_loc;
748
            } else {
749
                $item_info->{'location_description'} = $shelflocations->{$effective_loc};
750
            }
744
        }
751
        }
745
752
746
        my $itemtype = $item->itemtype;
753
        my $itemtype = $item->itemtype;
747
- 

Return to bug 14962