Lines 413-419
foreach my $item (@items) {
Link Here
|
413 |
if ( $analyze ) { |
413 |
if ( $analyze ) { |
414 |
# count if item is used in analytical bibliorecords |
414 |
# count if item is used in analytical bibliorecords |
415 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
415 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
416 |
my $countanalytics = C4::Context->preference('EasyAnalyticalRecords') ? GetAnalyticsCount($item->{itemnumber}) : 0; |
416 |
my $countanalytics = GetAnalyticsCount( $item->{itemnumber} ); |
417 |
if ($countanalytics > 0){ |
417 |
if ($countanalytics > 0){ |
418 |
$analytics_flag=1; |
418 |
$analytics_flag=1; |
419 |
$item->{countanalytics} = $countanalytics; |
419 |
$item->{countanalytics} = $countanalytics; |
420 |
- |
|
|