Describe the bug
When a user navigates to the page of all activities, they're properly shown. However, when they select to view activities of a certain group that they're a member of, only activities of the subgroups are shown. Eg, if user A is member of group X, and group Y is a subgroup of group X, and A navigates to the activity overview for X, only activities by Y are shown, but activities by X are missing.
To Reproduce
Steps to reproduce the behavior:
Go to the activity admin page.
Create a new activity, that has an author assigned for which the current user is a member.
Navigate to the activity overview page for that group.
See that the activity isn't shown.
Expected behavior
The activity overview page for a group should both include the activities for the selected group, as well as its subgroups.
Describe the bug When a user navigates to the page of all activities, they're properly shown. However, when they select to view activities of a certain group that they're a member of, only activities of the subgroups are shown. Eg, if user A is member of group X, and group Y is a subgroup of group X, and A navigates to the activity overview for X, only activities by Y are shown, but activities by X are missing.
To Reproduce Steps to reproduce the behavior:
Expected behavior The activity overview page for a group should both include the activities for the selected group, as well as its subgroups.