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

(-)a/catalogue/detail.pl (-1 / +2 lines)
Lines 224-230 foreach my $item (@items) { Link Here
224
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
224
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
225
    my $copynumber = $item->{'copynumber'};
225
    my $copynumber = $item->{'copynumber'};
226
    $item->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumber) && defined($copynumbers) && exists( $copynumbers->{$copynumber} ) );
226
    $item->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumber) && defined($copynumbers) && exists( $copynumbers->{$copynumber} ) );
227
    foreach (qw(ccode enumchron copynumber itemnotes uri)) {
227
    foreach (qw(ccode enumchron copynumber stocknumber itemnotes uri)) {
228
        $itemfields{$_} = 1 if ( $item->{$_} );
228
        $itemfields{$_} = 1 if ( $item->{$_} );
229
    }
229
    }
230
230
Lines 313-318 $template->param( Link Here
313
	itemdata_enumchron  => $itemfields{enumchron},
313
	itemdata_enumchron  => $itemfields{enumchron},
314
	itemdata_uri        => $itemfields{uri},
314
	itemdata_uri        => $itemfields{uri},
315
	itemdata_copynumber => $itemfields{copynumber},
315
	itemdata_copynumber => $itemfields{copynumber},
316
	itemdata_stocknumber => $itemfields{stocknumber},
316
	volinfo				=> $itemfields{enumchron},
317
	volinfo				=> $itemfields{enumchron},
317
    itemdata_itemnotes  => $itemfields{itemnotes},
318
    itemdata_itemnotes  => $itemfields{itemnotes},
318
	z3950_search_params	=> C4::Search::z3950_search_args($dat),
319
	z3950_search_params	=> C4::Search::z3950_search_args($dat),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +4 lines)
Lines 561-566 function verify_images() { Link Here
561
                [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
561
                [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
562
                [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
562
                [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
563
                [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
563
                [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
564
                [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
564
                [% IF materials %]<th>Materials specified</th>[% END %]
565
                [% IF materials %]<th>Materials specified</th>[% END %]
565
                [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
566
                [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
566
                [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
567
                [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
Lines 725-730 function verify_images() { Link Here
725
                    [% IF ( itemdata_copynumber ) %]
726
                    [% IF ( itemdata_copynumber ) %]
726
                        <td class="copynumber">[% item.copynumber %]</td>
727
                        <td class="copynumber">[% item.copynumber %]</td>
727
                    [% END %]
728
                    [% END %]
729
                    [% IF ( itemdata_stocknumber ) %]
730
                        <td class="stocknumber">[% item.stocknumber %]</td>
731
                    [% END %]
728
                    [% IF materials %]
732
                    [% IF materials %]
729
                        <td class="materials"> [% item.materials %] </td>
733
                        <td class="materials"> [% item.materials %] </td>
730
                    [% END %]
734
                    [% END %]
731
- 

Return to bug 13773