Lines 381-387
foreach my $item (@items) {
Link Here
|
381 |
if ( $analyze ) { |
381 |
if ( $analyze ) { |
382 |
# count if item is used in analytical bibliorecords |
382 |
# count if item is used in analytical bibliorecords |
383 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
383 |
# The 'countanalytics' flag is only used in the templates if analyze is set |
384 |
my $countanalytics = C4::Context->preference('EasyAnalyticalRecords') ? GetAnalyticsCount($item->{itemnumber}) : 0; |
384 |
my $countanalytics = GetAnalyticsCount( $item->{itemnumber} ); |
385 |
if ($countanalytics > 0){ |
385 |
if ($countanalytics > 0){ |
386 |
$analytics_flag=1; |
386 |
$analytics_flag=1; |
387 |
$item->{countanalytics} = $countanalytics; |
387 |
$item->{countanalytics} = $countanalytics; |
388 |
- |
|
|