push @biblionumbers, $input->multi_param('biblionumber');
}
-my $clubcount = Koha::Clubs->search->count;
my $multi_hold = @biblionumbers > 1;
$template->param(
- multi_hold => $multi_hold,
- clubcount => $clubcount,
+ multi_hold => $multi_hold,
);
# If we have the borrowernumber because we've performed an action, then we
);
}
+unless ( $club_hold or $borrowernumber_hold ) {
+ $template->param( clubcount => Koha::Clubs->search->count );
+}
+
$template->param(
messageborrower => $messageborrower,
messageclub => $messageclub