Please help me and provide a little explanation about the following thing:
1) What I have:
- a content type called "word"
- a flag for this content type called "learned".
- a view display with "word" nodes
2) What I want to achieve:
- filter view results with "learned" flag state (to get only flagged, or not flagged, or all of them) for current user via contextual filter.
I've added a relationship on "Flags: Content flag" where i can limit results to those nodes, which are already flagged by current user. But honestly I don't understand how to connect this relationship with contextual filter to get a possilibily to receive different results basing on the flag state (flagged, unflagged, all).
Actually, I want to get the same result as if I use an exsposed filter on a Flag state. But I don't want to use an exposed filter as well as I'm using an ajax call to load this view display with predefined options.