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?

CommentFileSizeAuthor
#1 Filter screenshot35.71 KBalex.k

Comments

alex.k’s picture

Assigned: Unassigned » alex.k
StatusFileSize
new35.71 KB

Good 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!

eigentor’s picture

No, 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.

YK85’s picture

Status: Active » Closed (duplicate)

this is now easily possible with #866400: Views filter patch for current user
marking this as duplicate