I browsed through all issues and maybe am just too dumb: I display a block of User pictures of friends of the user on his profile page: http://myrockinspace.com/cms/user/1 This is simply done with Views (and Panels2)
Now all friends are displayed, regardless if the relationship request has already been approved. I am finding only two views filters:
"User Relationships: Authors Relationship with Username" and
"User Relationships: Authors Relationship with the current user"
But both don't apply. When I use the second, the friends are only displayed, when a user is watching his own profile (or by chance might also be a friend of the User that should be displayed.)
What I am missing is a Filter like this: "User relationships: Status of Relationship" with the same options like the filters that are there now.
Am I missing something? Maybe there is a way I can pass custom code to filter by status?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Filter screenshot | 35.71 KB | alex.k |
Comments
Comment #1
alex.k commentedGood question. It did look like it was missing, until I added one of these filters. In the operand you have options to se just approved or not approved, or all types. Please give it a whirl!
Comment #2
eigentor commentedNo, this does not work. If you use "Author's relationship with username" like in your screenshot, you have to choos a specific user that must be approved. If you choose no one, nothing is displayed: sure, there cannot be an approved relationship with a "none" user, and in particualar this cannot be displayed.
If you choose the other option "Authors Relationship with the current user" The problem is as described in the original issue.
Comment #3
kenorb commented#680232: Views User Relationship Filter - Current User option
#360798: filter UR views based on Requester/Requestee is the Currently Logged in User
Comment #4
YK85 commentedthis is now easily possible with #866400: Views filter patch for current user
marking this as duplicate