From 65cf8a4db3a313ff5250f5af7d8a44ccd1cbe0df Mon Sep 17 00:00:00 2001 From: Johannes Vedder Date: Wed, 4 Sep 2024 15:19:00 +0200 Subject: [PATCH] fix: result history filter --- core/lib/src/models/tables/study_subject.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/lib/src/models/tables/study_subject.dart b/core/lib/src/models/tables/study_subject.dart index 5a2d0136d..8797ab371 100644 --- a/core/lib/src/models/tables/study_subject.dart +++ b/core/lib/src/models/tables/study_subject.dart @@ -376,7 +376,8 @@ class StudySubject extends SupabaseObjectFunctions { return SupabaseQuery.extractSupabaseList( await env.client .from(tableName) - .select('*,study!study_subject_studyId_fkey(*),subject_progress(*)'), + .select('*,study!study_subject_studyId_fkey(*),subject_progress(*)') + .eq('user_id', userId), ); }