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

(-)a/catalogue/detail.pl (-1 / +2 lines)
Lines 128-134 foreach my $item (@items) { Link Here
128
    $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
128
    $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
129
    my $ccode = $item->{'ccode'};
129
    my $ccode = $item->{'ccode'};
130
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
130
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
131
    foreach (qw(ccode enumchron copynumber)) {
131
    foreach (qw(ccode enumchron copynumber uri)) {
132
        $itemfields{$_} = 1 if ( $item->{$_} );
132
        $itemfields{$_} = 1 if ( $item->{$_} );
133
    }
133
    }
134
134
Lines 174-179 $template->param( Link Here
174
	subtitle    => $subtitle,
174
	subtitle    => $subtitle,
175
	itemdata_ccode      => $itemfields{ccode},
175
	itemdata_ccode      => $itemfields{ccode},
176
	itemdata_enumchron  => $itemfields{enumchron},
176
	itemdata_enumchron  => $itemfields{enumchron},
177
	itemdata_uri        => $itemfields{uri},
177
	itemdata_copynumber => $itemfields{copynumber},
178
	itemdata_copynumber => $itemfields{copynumber},
178
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
179
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
179
);
180
);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl (+4 lines)
Lines 170-175 function verify_images() { Link Here
170
                <th>Last seen</th>
170
                <th>Last seen</th>
171
                <th>Barcode</th>
171
                <th>Barcode</th>
172
                <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
172
                <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
173
                <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
173
                <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
174
                <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
174
            </tr>
175
            </tr>
175
            <!-- TMPL_LOOP NAME="itemloop" -->
176
            <!-- TMPL_LOOP NAME="itemloop" -->
Lines 271-276 function verify_images() { Link Here
271
					<!-- /TMPL_IF -->
272
					<!-- /TMPL_IF -->
272
					<!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
273
					<!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
273
				</td><!-- /TMPL_IF -->
274
				</td><!-- /TMPL_IF -->
275
				<!-- TMPL_IF NAME="itemdata_uri" -->
276
					<td class="uri"><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td>
277
				<!-- /TMPL_IF -->
274
				<!-- TMPL_IF NAME="itemdata_copynumber" -->
278
				<!-- TMPL_IF NAME="itemdata_copynumber" -->
275
					<td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
279
					<td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
276
				<!-- /TMPL_IF -->
280
				<!-- /TMPL_IF -->
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl (+2 lines)
Lines 248-253 Link Here
248
        <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
248
        <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
249
        <th>Call Number</th>
249
        <th>Call Number</th>
250
        <!-- TMPL_IF NAME="itemdata_enumchron" --><th>Vol Info</th><!-- /TMPL_IF -->
250
        <!-- TMPL_IF NAME="itemdata_enumchron" --><th>Vol Info</th><!-- /TMPL_IF -->
251
        <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
251
        <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy</th><!-- /TMPL_IF -->
252
        <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy</th><!-- /TMPL_IF -->
252
            <!-- TMPL_IF NAME="serial" -->
253
            <!-- TMPL_IF NAME="serial" -->
253
        <th>Serial Data</th>
254
        <th>Serial Data</th>
Lines 262-267 Link Here
262
            <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR NAME="ccode" --></td><!-- /TMPL_IF -->
263
            <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR NAME="ccode" --></td><!-- /TMPL_IF -->
263
            <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>
264
            <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>
264
            <!-- TMPL_IF NAME="itemdata_enumchron" --><td><!-- TMPL_VAR NAME="enumchron" --></td><!-- /TMPL_IF -->
265
            <!-- TMPL_IF NAME="itemdata_enumchron" --><td><!-- TMPL_VAR NAME="enumchron" --></td><!-- /TMPL_IF -->
266
            <!-- TMPL_IF NAME="itemdata_uri" --><td><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td><!-- /TMPL_IF -->
265
            <!-- TMPL_IF NAME="itemdata_copynumber" --><td><!-- TMPL_VAR NAME="copynumber" --></td><!-- /TMPL_IF -->
267
            <!-- TMPL_IF NAME="itemdata_copynumber" --><td><!-- TMPL_VAR NAME="copynumber" --></td><!-- /TMPL_IF -->
266
            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
268
            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
267
            <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
269
            <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
(-)a/opac/opac-detail.pl (-2 / +2 lines)
Lines 143-149 for my $itm (@items) { Link Here
143
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
143
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
144
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
144
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
145
    }
145
    }
146
    foreach (qw(ccode enumchron copynumber itemnotes)) {
146
    foreach (qw(ccode enumchron copynumber itemnotes uri)) {
147
        $itemfields{$_} = 1 if ($itm->{$_});
147
        $itemfields{$_} = 1 if ($itm->{$_});
148
    }
148
    }
149
149
Lines 190-195 my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 's Link Here
190
                     RequestOnOpac           => C4::Context->preference("RequestOnOpac"),
190
                     RequestOnOpac           => C4::Context->preference("RequestOnOpac"),
191
                     itemdata_ccode          => $itemfields{ccode},
191
                     itemdata_ccode          => $itemfields{ccode},
192
                     itemdata_enumchron      => $itemfields{enumchron},
192
                     itemdata_enumchron      => $itemfields{enumchron},
193
                     itemdata_uri            => $itemfields{uri},
193
                     itemdata_copynumber     => $itemfields{copynumber},
194
                     itemdata_copynumber     => $itemfields{copynumber},
194
                     itemdata_itemnotes          => $itemfields{itemnotes},
195
                     itemdata_itemnotes          => $itemfields{itemnotes},
195
                     authorised_value_images => $biblio_authorised_value_images,
196
                     authorised_value_images => $biblio_authorised_value_images,
196
- 

Return to bug 3267