Skip to content

Own Private Studysets Missing from “My Saved Studysets” #6

@ehanahamed

Description

@ehanahamed

in queryResolver.MySavedStudysets, the query includes AND s.private = false.
This excludes the user’s own private studysets that they have saved.

Recommended Fix:
Change the condition to AND (s.private = false OR s.user_id = $1)

I believe the frontend currently hides the save button from the UI on users' own studysets (public or private), but technically it's still possible through the API (I think). That's a larger consistency issue that doesn't really matter, but within the API at least it should be consistent what's possible to save and then view after saving lol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions