Objective: Filter the Deck Swiper so that it doesn’t show Cards which the user has seen before
I have the following collections:
NB: I have a Questions and Questions Photos table because each questions can have multiple photos but the deck swiper needs a single column to source images.
My approach so far is that every time a user swipes I’ll create a row in the Results collection containing the QuestionPhoto and the User. Then I should be able to filter the Card Deck to show cards which this user hasn’t swiped on.
I have setup a filter so that the card deck doesn’t show any questions created by the logged in user, which works fine.
However, I cannot get the card deck to filter out QuestionPhotos which the user has already seen and swiped on. Please see screenshots. There is data in the Results collection for the logged in user but when the filter is set to “Does not contain” it still shows the QuestionPhotos regardless. If the filter is set to “Contains”, it doesn’t show anything regardless of user.
So I suspect my setup is incorrect somewhere - either in the filter or the Collection relationships - but I can’t find any documentation on filtering using “All” or “Count” although I’ve spent hours trying to solve this.
A more detailed view: