From 5c8a10fb24d539410a7deaca51d1245dc4f8ccea Mon Sep 17 00:00:00 2001 From: KohaR2 Date: Wed, 8 Nov 2017 12:21:58 +0100 Subject: [PATCH] [current-16.11.x] [KohaR2] Basketcount correction on Bookseller.pm --- Koha/Acquisition/Bookseller.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm index 57a6113..326be54 100644 --- a/Koha/Acquisition/Bookseller.pm +++ b/Koha/Acquisition/Bookseller.pm @@ -24,6 +24,8 @@ sub fetch { return unless $bookseller; my $self = $class->new( $bookseller ); + $self->{'basketcount'} = $self->basket_count; + $self->{'subscriptioncount'} = $self->subscription_count; $self->contacts; # TODO: This should be generated on demand. return $self; } -- 2.1.4