From 368e4d991908f9fe6ef3f1ec15ba953196f97f84 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 Aug 2022 10:06:02 +0200 Subject: [PATCH] Bug 31321: Fix 'Used in' --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 3afa521ac7a..0e5d04511ad 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -428,7 +428,7 @@ foreach my $item (@items) { if ( $analyze ) { # count if item is used in analytical bibliorecords # The 'countanalytics' flag is only used in the templates if analyze is set - my $countanalytics = GetAnalyticsCount( $item->{itemnumber} ); + my $countanalytics = GetAnalyticsCount( $item->itemnumber ); if ($countanalytics > 0){ $analytics_flag=1; $item_info->{countanalytics} = $countanalytics; -- 2.25.1