From bceab09990f04141c2d158c981a5a3adfa84236b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 20 Oct 2021 18:34:43 -0300 Subject: [PATCH] Bug 29275: (follow-up) Remove use of CountSubscriptionFromBiblionumber Signed-off-by: Tomas Cohen Arazi --- catalogue/issuehistory.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl index add7cb2d40..1db534078f 100755 --- a/catalogue/issuehistory.pl +++ b/catalogue/issuehistory.pl @@ -23,7 +23,6 @@ use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); use C4::Search qw( enabled_staff_search_views ); -use C4::Serials qw( CountSubscriptionFromBiblionumber ); use Koha::Biblios; @@ -50,7 +49,7 @@ $template->param( $template->param( issuehistoryview => 1, C4::Search::enabled_staff_search_views, - subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber), + subscriptionsnumber => $biblio->subscriptions->count, ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.32.0