Jaxel
Well-known member
I'm trying to get a list of media that a user has liked... Could I do the following query with the entity/finder system?
This one seems to be a bit more troublesome because of the way the like handlers work.
Code:
SELECT xf_liked_content.*, EWRmedio_media.*
FROM xf_liked_content
INNER JOIN EWRmedio_media ON (EWRmedio_media.media_id = xf_liked_content.content_id)
WHERE xf_liked_content.content_type = 'ewr_medio_media'
AND xf_liked_content.like_user_id = ?
LIMIT 30