Skip to content

Commit

Permalink
Default to max 5 activities that are shown for organs
Browse files Browse the repository at this point in the history
Should help for when organs organise many different activities, for
example, during a lustrum week.
  • Loading branch information
tomudding committed Mar 14, 2024
1 parent 28f1085 commit c430286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Frontpage/src/Controller/OrganController.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function organAction(): ViewModel
}

$organMemberInformation = $this->organService->getOrganMemberInformation($organ);
$activities = $this->activityQueryService->getOrganActivities($organ, 3);
$activities = $this->activityQueryService->getOrganActivities($organ, 5);

return new ViewModel(
array_merge(
Expand Down

0 comments on commit c430286

Please sign in to comment.