hmm, so i've read countless bits on how to filter views by user custom fields - but they are specific to controlling an individual user view.

here's what i'm trying to do, and what's happening:

i have a view that shows top rated content with several fields, already filtered to show for just one specific content type:
- it shows node title
- it shows average vote (as widget)
- it shows user's individual vote (as widget)
- it exposes a node taxonomy term as a filter
- it exposes a custom user profile field as a filter

the idea: users register and are required to select a term (e.g. "I'm a student" or "I'm a teacher")
then when viewing the "top rated" page/view, there's a filter to not just select the taxonomy term filter (that one works just fine), but also a way to see just the top rated content by users who have selected "I'm a teacher"

does that make sense? right now when i show a user profile field exposed as a filter, all selections return blank results

do i need to make those filters into group so that the two exposed filters are always "OR" instead of "AND"?
am i missing a contextual filter? do i need some other unique relationship added in advanced?

any insight appreciated.

Comments

zilla’s picture

note: there's already a relationship added to the user (not required) related to that term/field from the user profile, that's how i was able to expose it to the filter as a select/dropdown (including as a taxonomy, by selecting relationship:user and selecting term as 'not required' - but it is forced to relate to "author" and this is confusing me...

also note: the user profile field is a choice from a pre-defined Taxonomy - but even when trying to just use the simple filter "Taxonomy Term: term" it seems to spit back blanks