Lines 297-307
foreach my $item (@items) {
Link Here
|
297 |
$item->{hosttitle} = GetBiblioData($item->{biblionumber})->{title}; |
297 |
$item->{hosttitle} = GetBiblioData($item->{biblionumber})->{title}; |
298 |
} |
298 |
} |
299 |
|
299 |
|
300 |
#count if item is used in analytical bibliorecords |
300 |
|
301 |
my $countanalytics= GetAnalyticsCount($item->{itemnumber}); |
301 |
if ( $analyze ) { |
302 |
if ($countanalytics > 0){ |
302 |
# count if item is used in analytical bibliorecords |
303 |
$analytics_flag=1; |
303 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
304 |
$item->{countanalytics} = $countanalytics; |
304 |
my $countanalytics= GetAnalyticsCount($item->{itemnumber}); |
|
|
305 |
if ($countanalytics > 0){ |
306 |
$analytics_flag=1; |
307 |
$item->{countanalytics} = $countanalytics; |
308 |
} |
305 |
} |
309 |
} |
306 |
|
310 |
|
307 |
if (defined($item->{'materials'}) && $item->{'materials'} =~ /\S/){ |
311 |
if (defined($item->{'materials'}) && $item->{'materials'} =~ /\S/){ |
308 |
- |
|
|