Commit 6b462763 authored by Leigh B Stoller's avatar Leigh B Stoller

Pass the project list to FreeCount() and Forecast().

parent 1eb65125
......@@ -1333,8 +1333,8 @@ sub ReservationPrediction($)
foreach my $type (@types) {
my $type = $type->type();
$freecounts->{$type} = Reservation->FreeCount($type);
$forecast->{$type} = [ Reservation->Forecast($type) ];
$freecounts->{$type} = Reservation->FreeCount($type, \@projlist);
$forecast->{$type} = [ Reservation->Forecast($type, \@projlist) ];
}
foreach my $type (Reservation->ReservableTypes()) {
my $type = $type->type();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment