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

(-)a/basket/basket.pl (+3 lines)
Lines 68-73 foreach my $biblionumber ( @bibs ) { Link Here
68
    my $marcseriesarray  = GetMarcSeries  ($record,$marcflavour);
68
    my $marcseriesarray  = GetMarcSeries  ($record,$marcflavour);
69
    my $marcurlsarray    = GetMarcUrls    ($record,$marcflavour);
69
    my $marcurlsarray    = GetMarcUrls    ($record,$marcflavour);
70
    my @items            = GetItemsInfo( $biblionumber );
70
    my @items            = GetItemsInfo( $biblionumber );
71
    unless (@items) {
72
        @items = C4::Items::GetHostItemsInfo($record);
73
    }
71
74
72
    my $hasauthors = 0;
75
    my $hasauthors = 0;
73
    if($dat->{'author'} || @$marcauthorsarray) {
76
    if($dat->{'author'} || @$marcauthorsarray) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (+3 lines)
Lines 297-302 Link Here
297
                                                            </strong>
297
                                                            </strong>
298
                                                            [% ITEM_RESULT.branchname | html %]
298
                                                            [% ITEM_RESULT.branchname | html %]
299
                                                            <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
299
                                                            <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
300
                                                            [% IF ITEM_RESULT.enumchron %]
301
                                                                .- [% ITEM_RESULT.enumchron | html %]
302
                                                            [% END %]
300
                                                        </span>
303
                                                        </span>
301
                                                    </div>
304
                                                    </div>
302
                                                [% END %]
305
                                                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-5 / +9 lines)
Lines 1-5 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE AuthorisedValues %]
3
[% USE Koha %]
4
[% USE Koha %]
4
[% USE KohaDates %]
5
[% USE KohaDates %]
5
[% SET PRIVATE = 1 %]
6
[% SET PRIVATE = 1 %]
Lines 236-247 Link Here
236
            <td>[% itemsloo.dateadded | $KohaDates%]</td>
237
            <td>[% itemsloo.dateadded | $KohaDates%]</td>
237
            <td>
238
            <td>
238
                <ul>
239
                <ul>
239
                [% FOREACH result IN itemsloo.ITEM_RESULTS %]
240
                [% FOREACH item IN itemsloo.ITEM_RESULTS %]
240
                    <li>
241
                    <li>
241
                        [% result.holdingbranch | html %]
242
                        [% item.branchname | html %]
242
                        [% IF ( result.location_intranet ) %]<span class="shelvingloc">[% result.location_intranet | html %]</span>[% END %]
243
                        [% IF ( item.location ) %]<span class="shelvingloc">[% AuthorisedValues.GetByCode('LOC', item.location) | html %]</span>[% END %]
243
                        [% IF ( result.itemcallnumber ) %]
244
                        [% IF ( item.itemcallnumber ) %]
244
                            [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% result.itemcallnumber |uri %]%22">[% result.itemcallnumber | html %]</a>]
245
                            [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% item.itemcallnumber |uri %]%22">[% item.itemcallnumber | html %]</a>]
246
                        [% END %]
247
                        [% IF item.enumchron %]
248
                            .- [% item.enumchron | html %]
245
                        [% END %]
249
                        [% END %]
246
                    </li>
250
                    </li>
247
                [% END %]
251
                [% END %]
(-)a/virtualshelves/shelves.pl (-3 / +5 lines)
Lines 296-303 if ( $op eq 'view' ) { Link Here
296
                }
296
                }
297
297
298
                # Getting items infos for location display
298
                # Getting items infos for location display
299
                my @items_infos = &GetItemsLocationInfo( $biblionumber );
299
                my @item_results = C4::Items::GetItemsInfo($biblionumber);
300
                $this_item->{'ITEM_RESULTS'} = \@items_infos;
300
                unless (@item_results) {
301
                    @item_results = C4::Items::GetHostItemsInfo($record);
302
                }
303
                $this_item->{'ITEM_RESULTS'} = \@item_results;
301
                $this_item->{biblionumber} = $biblionumber;
304
                $this_item->{biblionumber} = $biblionumber;
302
                push @items, $this_item;
305
                push @items, $this_item;
303
            }
306
            }
304
- 

Return to bug 24192