Bug 19593 Basketcount correction on Bookseller.pm
[koha.git] / Koha / Acquisition / Bookseller.pm
index 57a6113..326be54 100644 (file)
@@ -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;
 }