Lines 373-379
foreach my $item (@items) {
Link Here
|
373 |
if ( $analyze ) { |
373 |
if ( $analyze ) { |
374 |
# count if item is used in analytical bibliorecords |
374 |
# count if item is used in analytical bibliorecords |
375 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
375 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
376 |
my $countanalytics = C4::Context->preference('EasyAnalyticalRecords') ? GetAnalyticsCount($item->{itemnumber}) : 0; |
376 |
my $countanalytics = GetAnalyticsCount( $item->{itemnumber} ); |
377 |
if ($countanalytics > 0){ |
377 |
if ($countanalytics > 0){ |
378 |
$analytics_flag=1; |
378 |
$analytics_flag=1; |
379 |
$item->{countanalytics} = $countanalytics; |
379 |
$item->{countanalytics} = $countanalytics; |
380 |
- |
|
|