mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Calendar: Additionally respecting homefilters (#4733)
When collecting the activities for the planning calendar, only the filter was used. Now the homefilter is considered as well. See https://groups.google.com/g/golden-cheetah-developers/c/viSV80ze3r8/m/lbkJnG1jCAAJ
This commit is contained in:
committed by
GitHub
parent
e9270b5d1a
commit
f21808d97c
@@ -708,7 +708,8 @@ PlanningCalendarWindow::getActivities
|
||||
|| rideItem == nullptr) {
|
||||
continue;
|
||||
}
|
||||
if (context->isfiltered && ! context->filters.contains(rideItem->fileName)) {
|
||||
if ( (context->isfiltered && ! context->filters.contains(rideItem->fileName))
|
||||
|| (context->ishomefiltered && ! context->homeFilters.contains(rideItem->fileName))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user