Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Allow filtering by Day-IDs

Roland Geider427d5ed41a11
diff --git a/wger/manager/api/filtersets.py b/wger/manager/api/filtersets.py
index 71be7bb92..9f722f1af 100644
--- a/wger/manager/api/filtersets.py
+++ b/wger/manager/api/filtersets.py
@@ -28,6 +28,7 @@ class WorkoutSessionFilterSet(filters.FilterSet):
model = WorkoutSession
fields = {
'routine': ['exact'],
+ 'day': ['exact'],
'notes': ['exact'],
'impression': ['exact'],
'datetime_start': ['exact', 'date', 'gt', 'gte', 'lt', 'lte'],