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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (+15 lines)
Lines 486-491 Link Here
486
486
487
                                                        [% itemsloo.XSLTBloc | $raw %]
487
                                                        [% itemsloo.XSLTBloc | $raw %]
488
488
489
490
                                                        [% IF itemsloo.shelves.count %]
491
                                                            <div class="results_summary shelves">
492
                                                                <span class="label">Lists:</span>
493
                                                                <ul>
494
                                                                    [% FOREACH item_shelf IN itemsloo.shelves %]
495
                                                                        <li>
496
                                                                            <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% item_shelf.shelfnumber | uri %]">[% item_shelf.shelfname | html %]</a>
497
                                                                            [%~ UNLESS loop.last %], [% ELSE %].[% END ~%]
498
                                                                        </li>
499
                                                                    [% END %]
500
                                                                </ul>
501
                                                            </div>
502
                                                        [% END %]
503
489
                                                        [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
504
                                                        [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
490
                                                            <div class="results_summary tags">
505
                                                            <div class="results_summary tags">
491
                                                                <span class="label">Tags:</span>
506
                                                                <span class="label">Tags:</span>
(-)a/opac/opac-shelves.pl (-1 / +7 lines)
Lines 426-431 if ( $op eq 'view' ) { Link Here
426
426
427
                $this_item->{biblio_object} = $biblio;
427
                $this_item->{biblio_object} = $biblio;
428
                $this_item->{biblionumber}  = $biblionumber;
428
                $this_item->{biblionumber}  = $biblionumber;
429
                $this_item->{shelves} =
430
                  Koha::Virtualshelves->get_shelves_containing_record(
431
                    {
432
                        biblionumber   => $biblionumber,
433
                        borrowernumber => $loggedinuser,
434
                    }
435
                  );
429
                push @items_info, $this_item;
436
                push @items_info, $this_item;
430
            }
437
            }
431
438
432
- 

Return to bug 32434