Filter on (requestee) User: Current No - not filtering
yoeld - October 11, 2009 - 20:58
| Project: | User Relationships |
| Version: | 6.x-1.0-rc2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | yoeld |
| Status: | closed |
Description
Hello,
I need to show the list of relationship (friends -2 ways) that the currently logged user has initiated and where approved by the users. I created a list based on filter (requestee) User: Current No. But I see the in the list also the friends request that the current user received and approved.
Any hints?

#1
Not sure quite what you mean... two possibilities:
1. To show pending relationships that the user has requested, use the (requester) relationship
2. If you are showing approved relationships - since it's two-way, there is unfortunately no way to tell which user initiated the relationship once approved, as it's bidirectional.
#2
Hi Alex,
Thanks for your prompt reply.
I was mentioning the situation #2. I though the that the initial requester for the relationship is still flagged as the initiator of the whole relationship, regardless whether it is a one way or 2 way. Not that critical though! Thanks anyway!!
#3
#4
Hello Alex,
Is there a way I can filter friends of the currently logged in user using views?
For example, in friendlist, one can combine with the aid of Views Or module
1. 'requestee is the currently logged in user' and
2. 'requester is the currently logged in user' to get this done.
I'm really in need of this. Your help will be very much appreciated. Thanks.
#5
Sure. If you use the UR: Requestee and UR: Requester relationships, you can add the 'User: current' filter and assign it to the relationship. That's what the original poster is doing in his view, I believe.
@yoeld if you could post an export of your view that'd would probably be helpful. Thanks.
#6
Thanks a lot. That was helpful.
#7
Great.
#8
#9
Automatically closed -- issue fixed for 2 weeks with no activity.