Merge pull request #4567 from pangeachat/filter-non-public

Filter out courses from search if they aren't public
This commit is contained in:
ggurdin 2025-11-03 09:21:06 -05:00 committed by GitHub
commit fab757a0cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,8 @@ class PublicCoursesPageState extends State<PublicCoursesPage> {
r.id == c.room.roomId &&
r.membership == Membership.join,
) &&
coursePlans.containsKey(c.courseId),
coursePlans.containsKey(c.courseId) &&
c.room.joinRule == 'public',
)
.toList();