Hey everybody, I was just wondering how I would go about making a recently viewed list.
Hey there @LoneWolf
You’d need a new collection called “Recently Viewed ____(change with item name”
For example, you have a collection of users and movies. You want a list of the recently viewed movies. You need a new collection called “Recently viewed movies”. This collection should have a one-to-many user relationship where a user can have many recently viewed movies but a recently viewed movie belongs to one user. This should also have a one-to-many relationship with the movie where recently viewed movies can have 1 movie and movies can have many recently viewed movies.
When a movie has been watched, you create a record for the “Recently watched movies” . Then, you can sort the movies by the record’s created date, newest to oldest.
Awesome, thank you!