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

(-)a/catalogue/detail.pl (-1 / +2 lines)
Lines 148-154 foreach my $item (@items) { Link Here
148
    $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
148
    $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
149
    my $ccode = $item->{'ccode'};
149
    my $ccode = $item->{'ccode'};
150
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
150
    $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) );
151
    foreach (qw(ccode enumchron copynumber)) {
151
    foreach (qw(ccode enumchron copynumber uri)) {
152
        $itemfields{$_} = 1 if ( $item->{$_} );
152
        $itemfields{$_} = 1 if ( $item->{$_} );
153
    }
153
    }
154
154
Lines 194-199 $template->param( Link Here
194
	subtitle    => $subtitle,
194
	subtitle    => $subtitle,
195
	itemdata_ccode      => $itemfields{ccode},
195
	itemdata_ccode      => $itemfields{ccode},
196
	itemdata_enumchron  => $itemfields{enumchron},
196
	itemdata_enumchron  => $itemfields{enumchron},
197
	itemdata_uri        => $itemfields{uri},
197
	itemdata_copynumber => $itemfields{copynumber},
198
	itemdata_copynumber => $itemfields{copynumber},
198
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
199
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
199
	z3950_search_params	=> C4::Search::z3950_search_args($dat),
200
	z3950_search_params	=> C4::Search::z3950_search_args($dat),
(-)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 306-311 Link Here
306
        <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
306
        <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
307
        <th>Call Number</th>
307
        <th>Call Number</th>
308
        <!-- TMPL_IF NAME="itemdata_enumchron" --><th>Vol Info</th><!-- /TMPL_IF -->
308
        <!-- TMPL_IF NAME="itemdata_enumchron" --><th>Vol Info</th><!-- /TMPL_IF -->
309
        <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
309
        <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy</th><!-- /TMPL_IF -->
310
        <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy</th><!-- /TMPL_IF -->
310
            <!-- TMPL_IF NAME="serial" -->
311
            <!-- TMPL_IF NAME="serial" -->
311
        <th>Serial Data</th>
312
        <th>Serial Data</th>
Lines 320-325 Link Here
320
            <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR NAME="ccode" --></td><!-- /TMPL_IF -->
321
            <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR NAME="ccode" --></td><!-- /TMPL_IF -->
321
            <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>
322
            <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>
322
            <!-- TMPL_IF NAME="itemdata_enumchron" --><td><!-- TMPL_VAR NAME="enumchron" --></td><!-- /TMPL_IF -->
323
            <!-- TMPL_IF NAME="itemdata_enumchron" --><td><!-- TMPL_VAR NAME="enumchron" --></td><!-- /TMPL_IF -->
324
            <!-- TMPL_IF NAME="itemdata_uri" --><td><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td><!-- /TMPL_IF -->
323
            <!-- TMPL_IF NAME="itemdata_copynumber" --><td><!-- TMPL_VAR NAME="copynumber" --></td><!-- /TMPL_IF -->
325
            <!-- TMPL_IF NAME="itemdata_copynumber" --><td><!-- TMPL_VAR NAME="copynumber" --></td><!-- /TMPL_IF -->
324
            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
326
            <!-- TMPL_IF NAME="serial" --><td><!-- TMPL_VAR NAME="serialseq" --> </td>
325
            <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
327
            <td><!-- TMPL_VAR NAME="publisheddate" --> </td><!-- /TMPL_IF -->
(-)a/opac/opac-detail.pl (-2 / +2 lines)
Lines 151-157 for my $itm (@items) { Link Here
151
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
151
        $itm->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} );
152
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
152
        $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'};
153
    }
153
    }
154
    foreach (qw(ccode enumchron copynumber itemnotes)) {
154
    foreach (qw(ccode enumchron copynumber itemnotes uri)) {
155
        $itemfields{$_} = 1 if ($itm->{$_});
155
        $itemfields{$_} = 1 if ($itm->{$_});
156
    }
156
    }
157
157
Lines 198-203 my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 's Link Here
198
                     RequestOnOpac           => C4::Context->preference("RequestOnOpac"),
198
                     RequestOnOpac           => C4::Context->preference("RequestOnOpac"),
199
                     itemdata_ccode          => $itemfields{ccode},
199
                     itemdata_ccode          => $itemfields{ccode},
200
                     itemdata_enumchron      => $itemfields{enumchron},
200
                     itemdata_enumchron      => $itemfields{enumchron},
201
                     itemdata_uri            => $itemfields{uri},
201
                     itemdata_copynumber     => $itemfields{copynumber},
202
                     itemdata_copynumber     => $itemfields{copynumber},
202
                     itemdata_itemnotes          => $itemfields{itemnotes},
203
                     itemdata_itemnotes          => $itemfields{itemnotes},
203
                     authorised_value_images => $biblio_authorised_value_images,
204
                     authorised_value_images => $biblio_authorised_value_images,
204
- 

Return to bug 3267