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

(-)a/catalogue/detail.pl (-1 / +2 lines)
Lines 147-153 foreach my $item (@items) { Link Here
147
    $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
147
    $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
148
    my $ccode = $item->{'ccode'};
148
    my $ccode = $item->{'ccode'};
149
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
149
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
150
    foreach (qw(ccode enumchron copynumber)) {
150
    foreach (qw(ccode enumchron copynumber uri)) {
151
        $itemfields{$_} = 1 if ( $item->{$_} );
151
        $itemfields{$_} = 1 if ( $item->{$_} );
152
    }
152
    }
153
153
Lines 193-198 $template->param( Link Here
193
	subtitle    => $subtitle,
193
	subtitle    => $subtitle,
194
	itemdata_ccode      => $itemfields{ccode},
194
	itemdata_ccode      => $itemfields{ccode},
195
	itemdata_enumchron  => $itemfields{enumchron},
195
	itemdata_enumchron  => $itemfields{enumchron},
196
	itemdata_uri        => $itemfields{uri},
196
	itemdata_copynumber => $itemfields{copynumber},
197
	itemdata_copynumber => $itemfields{copynumber},
197
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
198
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
198
);
199
);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl (+4 lines)
Lines 172-177 function verify_images() { Link Here
172
                <th>Last seen</th>
172
                <th>Last seen</th>
173
                <th>Barcode</th>
173
                <th>Barcode</th>
174
                <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
174
                <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
175
                <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
175
                <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
176
                <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
176
            </tr>
177
            </tr>
177
            <!-- TMPL_LOOP NAME="itemloop" -->
178
            <!-- TMPL_LOOP NAME="itemloop" -->
Lines 273-278 function verify_images() { Link Here
273
					<!-- /TMPL_IF -->
274
					<!-- /TMPL_IF -->
274
					<!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
275
					<!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
275
				</td><!-- /TMPL_IF -->
276
				</td><!-- /TMPL_IF -->
277
				<!-- TMPL_IF NAME="itemdata_uri" -->
278
					<td class="uri"><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td>
279
				<!-- /TMPL_IF -->
276
				<!-- TMPL_IF NAME="itemdata_copynumber" -->
280
				<!-- TMPL_IF NAME="itemdata_copynumber" -->
277
					<td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
281
					<td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
278
				<!-- /TMPL_IF -->
282
				<!-- /TMPL_IF -->
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl (+2 lines)
Lines 330-335 Link Here
330
        <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
330
        <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
331
        <th>Call Number</th>
331
        <th>Call Number</th>
332
        <!-- TMPL_IF NAME="itemdata_enumchron" --><th>Vol Info</th><!-- /TMPL_IF -->
332
        <!-- TMPL_IF NAME="itemdata_enumchron" --><th>Vol Info</th><!-- /TMPL_IF -->
333
        <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
333
        <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy</th><!-- /TMPL_IF -->
334
        <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy</th><!-- /TMPL_IF -->
334
            <!-- TMPL_IF NAME="serial" -->
335
            <!-- TMPL_IF NAME="serial" -->
335
        <th>Serial Data</th>
336
        <th>Serial Data</th>
Lines 344-349 Link Here
344
            <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR NAME="ccode" --></td><!-- /TMPL_IF -->
345
            <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR NAME="ccode" --></td><!-- /TMPL_IF -->
345
            <td><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="OPACShelfBrowser" -->(<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;shelfbrowse_itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#shelfbrowser">Browse Shelf</a>)<!-- /TMPL_IF --></td>
346
            <td><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="OPACShelfBrowser" -->(<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;shelfbrowse_itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#shelfbrowser">Browse Shelf</a>)<!-- /TMPL_IF --></td>
346
            <!-- TMPL_IF NAME="itemdata_enumchron" --><td><!-- TMPL_VAR NAME="enumchron" --></td><!-- /TMPL_IF -->
347
            <!-- TMPL_IF NAME="itemdata_enumchron" --><td><!-- TMPL_VAR NAME="enumchron" --></td><!-- /TMPL_IF -->
348
            <!-- TMPL_IF NAME="itemdata_uri" --><td><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td><!-- /TMPL_IF -->
347
            <!-- TMPL_IF NAME="itemdata_copynumber" --><td><!-- TMPL_VAR NAME="copynumber" --></td><!-- /TMPL_IF -->
349
            <!-- TMPL_IF NAME="itemdata_copynumber" --><td><!-- TMPL_VAR NAME="copynumber" --></td><!-- /TMPL_IF -->
348
            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
350
            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
349
            <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
351
            <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
(-)a/opac/opac-detail.pl (-2 / +2 lines)
Lines 156-162 for my $itm (@items) { Link Here
156
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
156
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
157
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
157
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
158
    }
158
    }
159
    foreach (qw(ccode enumchron copynumber itemnotes)) {
159
    foreach (qw(ccode enumchron copynumber itemnotes uri)) {
160
        $itemfields{$_} = 1 if ($itm->{$_});
160
        $itemfields{$_} = 1 if ($itm->{$_});
161
    }
161
    }
162
162
Lines 203-208 my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 's Link Here
203
                     RequestOnOpac           => C4::Context->preference("RequestOnOpac"),
203
                     RequestOnOpac           => C4::Context->preference("RequestOnOpac"),
204
                     itemdata_ccode          => $itemfields{ccode},
204
                     itemdata_ccode          => $itemfields{ccode},
205
                     itemdata_enumchron      => $itemfields{enumchron},
205
                     itemdata_enumchron      => $itemfields{enumchron},
206
                     itemdata_uri            => $itemfields{uri},
206
                     itemdata_copynumber     => $itemfields{copynumber},
207
                     itemdata_copynumber     => $itemfields{copynumber},
207
                     itemdata_itemnotes          => $itemfields{itemnotes},
208
                     itemdata_itemnotes          => $itemfields{itemnotes},
208
                     authorised_value_images => $biblio_authorised_value_images,
209
                     authorised_value_images => $biblio_authorised_value_images,
209
- 

Return to bug 3267