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