Closed (fixed)
Project:
Flag
Version:
7.x-2.0-beta6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2011 at 16:57 UTC
Updated:
29 Dec 2012 at 08:41 UTC
Hi,
In my custom module I want to access all the nodes which a certain user has flagged.
I had a look the tables but I can't seem to find the relation where flag id is matched to a list of users who have flagged it.
Where does flag store this ?
Cheers,
Vishal
Comments
Comment #1
quicksketchThe flag_content table stores all "User flagged something" records. Since Flag can flag things other than users, you also need to check that the type is "node" when selecting from that table.
Comment #2
vishalkhialani commented@quicksketch: thanks :)
Comment #3
joachim commented