Private
Public Access
1
0

Merge branch 'release/v22.5.2'

This commit is contained in:
2024-12-15 19:04:53 +01:00
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@@ -80,7 +80,8 @@ class WorkoutViewSet(viewsets.ModelViewSet):
def get_queryset(self): # pragma: no cover
try:
r = Rower.objects.get(user=self.request.user)
return Workout.objects.filter(user=r).order_by("-date", "-starttime")
#return Workout.objects.filter(user=r).order_by("-date", "-starttime")
return Workout.objects.filter(user=r).exclude(workoutsource='strava').order_by("-date", "-starttime")
except TypeError:
return []