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 481-486 Link Here
481
481
482
                                                        [% itemsloo.XSLTBloc | $raw %]
482
                                                        [% itemsloo.XSLTBloc | $raw %]
483
483
484
485
                                                        [% IF itemsloo.shelves.count %]
486
                                                            <div class="results_summary shelves">
487
                                                                <span class="label">Lists:</span>
488
                                                                <ul>
489
                                                                    [% FOREACH item_shelf IN itemsloo.shelves %]
490
                                                                        <li>
491
                                                                            <a href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% item_shelf.shelfnumber | uri %]">[% item_shelf.shelfname | html %]</a>
492
                                                                            [%~ UNLESS loop.last %], [% ELSE %].[% END ~%]
493
                                                                        </li>
494
                                                                    [% END %]
495
                                                                </ul>
496
                                                            </div>
497
                                                        [% END %]
498
484
                                                        [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
499
                                                        [% IF ( TagsShowEnabled && itemsloo.TagLoop.size ) %]
485
                                                            <div class="results_summary tags">
500
                                                            <div class="results_summary tags">
486
                                                                <span class="label">Tags:</span>
501
                                                                <span class="label">Tags:</span>
(-)a/opac/opac-shelves.pl (-1 / +7 lines)
Lines 386-391 if ( $op eq 'view' ) { Link Here
386
386
387
                $this_item->{biblio_object} = $biblio;
387
                $this_item->{biblio_object} = $biblio;
388
                $this_item->{biblionumber}  = $biblionumber;
388
                $this_item->{biblionumber}  = $biblionumber;
389
                $this_item->{shelves} =
390
                  Koha::Virtualshelves->get_shelves_containing_record(
391
                    {
392
                        biblionumber   => $biblionumber,
393
                        borrowernumber => $loggedinuser,
394
                    }
395
                  );
389
                push @items_info, $this_item;
396
                push @items_info, $this_item;
390
            }
397
            }
391
398
392
- 

Return to bug 32434