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

(-)a/catalogue/detail.pl (-7 / +8 lines)
Lines 262-275 foreach my $item (@items) { Link Here
262
	$item->{hosttitle} = GetBiblioData($item->{biblionumber})->{title};
262
	$item->{hosttitle} = GetBiblioData($item->{biblionumber})->{title};
263
    }
263
    }
264
	
264
	
265
	#count if item is used in analytical bibliorecords
265
    #count if item is used in analytical bibliorecords
266
	my $countanalytics= GetAnalyticsCount($item->{itemnumber});
266
    my $countanalytics= GetAnalyticsCount($item->{itemnumber});
267
	if ($countanalytics > 0){
267
    if ($countanalytics > 0){
268
		$analytics_flag=1;
268
        $analytics_flag=1;
269
		$item->{countanalytics} = $countanalytics;
269
        $item->{countanalytics} = $countanalytics;
270
	}
270
    }
271
271
    if (defined($item->{'materials'}) && $item->{'materials'} =~ /\S/){
272
    if (defined($item->{'materials'}) && $item->{'materials'} =~ /\S/){
272
	$materials_flag = 1;
273
	$materials_flag = 1;
274
    }
273
275
274
    if ($currentbranch and $currentbranch ne "NO_LIBRARY_SET"
276
    if ($currentbranch and $currentbranch ne "NO_LIBRARY_SET"
275
    and C4::Context->preference('SeparateHoldings')) {
277
    and C4::Context->preference('SeparateHoldings')) {
276
- 

Return to bug 7674