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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-2 / +2 lines)
Lines 1450-1456 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
1450
            [% IF ( itemdata_copynumber ) %]<th id="item_copy">Copy</th>[% END %]
1450
            [% IF ( itemdata_copynumber ) %]<th id="item_copy">Copy</th>[% END %]
1451
            <th id="item_status">Status</th>
1451
            <th id="item_status">Status</th>
1452
            [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
1452
            [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
1453
            <th id="item_datedue">Date due</th>
1453
            [% IF ( itemdata_datedue ) %]<th id="item_datedue">Date due</th>[% END %]
1454
            [% IF ( OPACShowBarcode ) %]<th>Barcode</th>[% END %]
1454
            [% IF ( OPACShowBarcode ) %]<th>Barcode</th>[% END %]
1455
        [% IF holds_count.defined %]
1455
        [% IF holds_count.defined %]
1456
            <th>Item holds</th>
1456
            <th>Item holds</th>
Lines 1480-1486 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
1480
               [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
1480
               [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
1481
              <td class="status">[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1481
              <td class="status">[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1482
             [% IF ( itemdata_itemnotes ) %]<td class="notes">[% ITEM_RESULT.itemnotes %]</td>[% END %]
1482
             [% IF ( itemdata_itemnotes ) %]<td class="notes">[% ITEM_RESULT.itemnotes %]</td>[% END %]
1483
        <td class="date_due">[% ITEM_RESULT.datedue | $KohaDates %]</td>
1483
        [% IF ( itemdata_datedue ) %]<td class="date_due">[% IF ITEM_RESULT.datedue %][% ITEM_RESULT.datedue | $KohaDates %][% END %]</td>[% END %]
1484
        [% IF ( OPACShowBarcode ) %]<td class="barcode">[% ITEM_RESULT.barcode %]</td>[% END %]
1484
        [% IF ( OPACShowBarcode ) %]<td class="barcode">[% ITEM_RESULT.barcode %]</td>[% END %]
1485
        [% IF holds_count.defined || show_priority %]
1485
        [% IF holds_count.defined || show_priority %]
1486
        <td class="holds_count">
1486
        <td class="holds_count">
(-)a/opac/opac-detail.pl (-3 / +3 lines)
Lines 531-537 for my $itm (@items) { Link Here
531
531
532
    # get collection code description, too
532
    # get collection code description, too
533
    my $ccode = $itm->{'ccode'};
533
    my $ccode = $itm->{'ccode'};
534
    $itm->{'ccode'} = $collections->{$ccode} if ( defined($collections) && exists( $collections->{$ccode} ) );
534
    $itm->{'ccode'} = $collections->{$ccode} if ( defined($ccode) && defined($collections) && exists( $collections->{$ccode} ) );
535
    my $copynumber = $itm->{'copynumber'};
535
    my $copynumber = $itm->{'copynumber'};
536
    $itm->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumbers) && defined($copynumber) && exists( $copynumbers->{$copynumber} ) );
536
    $itm->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumbers) && defined($copynumber) && exists( $copynumbers->{$copynumber} ) );
537
    if ( defined $itm->{'location'} ) {
537
    if ( defined $itm->{'location'} ) {
Lines 541-547 for my $itm (@items) { Link Here
541
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
541
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
542
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
542
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
543
    }
543
    }
544
    foreach (qw(ccode enumchron copynumber itemnotes uri)) {
544
    foreach (qw(ccode enumchron copynumber itemnotes uri datedue)) {
545
        $itemfields{$_} = 1 if ($itm->{$_});
545
        $itemfields{$_} = 1 if ($itm->{$_});
546
    }
546
    }
547
547
Lines 610-615 my $subtitle = GetRecordValue('subtitle', $record, GetFrameworkCode($bib Link Here
610
                     itemdata_uri            => $itemfields{uri},
610
                     itemdata_uri            => $itemfields{uri},
611
                     itemdata_copynumber     => $itemfields{copynumber},
611
                     itemdata_copynumber     => $itemfields{copynumber},
612
                     itemdata_itemnotes          => $itemfields{itemnotes},
612
                     itemdata_itemnotes          => $itemfields{itemnotes},
613
                     itemdata_datedue         => $itemfields{datedue},
613
                     authorised_value_images => $biblio_authorised_value_images,
614
                     authorised_value_images => $biblio_authorised_value_images,
614
                     subtitle                => $subtitle,
615
                     subtitle                => $subtitle,
615
                     OpacStarRatings         => C4::Context->preference("OpacStarRatings"),
616
                     OpacStarRatings         => C4::Context->preference("OpacStarRatings"),
616
- 

Return to bug 9040