Closed hashplan closed 9 years ago
select * from user_connections where userId = 2 and type = 'friend'
Only those users are counted in your query whom user with id = 2 sent invite to, and there are users who sent invite to friends by themselves and got confirmation I mean the following query is used to show friends select * from user_connections where (userId = 2 or connectionUserId = 2) and type = 'friend'
Will rename the tab.
Ok, if that is the structure, we can leave.
Sorry, I forgot that not only friend invites are displayed in the "Sent" tab, but event invites as well, according to the №24 slide. Should I anyway rename it?
Maybe we could do some sort of on hover so that the user knows that this includes all sent items, events or invites to connect?
Fixed, on hashplans.com
in database, userid 2 has the following info stored:
There are 4 friends and 3 requests sent.
In my account, current friends shows 7 friends (one you can't see at the bottom of the screen is Shirley Reynolds):
Under "invites" in "sent", it shows 3 friend invites:
Something does not add up based on the database.
Please rename "sent" to "Friend Invitations Sent".