Active
Project:
FriendList
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2009 at 21:25 UTC
Updated:
24 Jul 2009 at 21:25 UTC
I want to be able to get a list of users that are NOT friends of the current logged in user, in order to show a block of suggested friends to the user (after filtering them properly).
I cloned the fl_manage view in order to see how it retrieves the user's friends. I noticed it filters by the TW_BOTH status, so I decided to use TW_NONE, to get users that aren't my friends. This didn't work, as I noticed later on that in the database table, obviously, there is no TW_NONE relationship between one user and the rest of the users, as this would be overwhelming...
My question is, how can I achieve this query with views?
Thanks.