28519 SELECT rf_posts.*
FROM rf_posts INNER JOIN rf_postmeta ON ( rf_posts.ID = rf_postmeta.post_id ) LEFT JOIN rf_postmeta AS displaymeta ON (
displaymeta.meta_key = 'display_this_post_to' AND
displaymeta.post_id = rf_posts.ID
)
WHERE 1=1 AND (
( rf_postmeta.meta_key = 'companies' AND rf_postmeta.meta_value LIKE '{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}\"28519\"{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}' )
) AND rf_posts.post_type = 'research' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
28519 SELECT rf_posts.*
FROM rf_posts INNER JOIN rf_postmeta ON ( rf_posts.ID = rf_postmeta.post_id ) LEFT JOIN rf_postmeta AS displaymeta ON (
displaymeta.meta_key = 'display_this_post_to' AND
displaymeta.post_id = rf_posts.ID
)
WHERE 1=1 AND (
( rf_postmeta.meta_key = 'companies' AND rf_postmeta.meta_value LIKE '{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}\"28519\"{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}' )
) AND rf_posts.post_type = 'post' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
28519 SELECT rf_posts.*
FROM rf_posts INNER JOIN rf_postmeta ON ( rf_posts.ID = rf_postmeta.post_id ) LEFT JOIN rf_postmeta AS displaymeta ON (
displaymeta.meta_key = 'display_this_post_to' AND
displaymeta.post_id = rf_posts.ID
)
WHERE 1=1 AND (
( rf_postmeta.meta_key = 'companies' AND rf_postmeta.meta_value LIKE '{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}\"28519\"{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}' )
) AND rf_posts.post_type = 'event' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
28519 SELECT rf_posts.*
FROM rf_posts INNER JOIN rf_postmeta ON ( rf_posts.ID = rf_postmeta.post_id ) LEFT JOIN rf_postmeta AS displaymeta ON (
displaymeta.meta_key = 'display_this_post_to' AND
displaymeta.post_id = rf_posts.ID
)
WHERE 1=1 AND (
( rf_postmeta.meta_key = 'companies' AND rf_postmeta.meta_value LIKE '{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}\"28519\"{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}' )
) AND rf_posts.post_type = 'event' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
28519 SELECT rf_posts.*
FROM rf_posts INNER JOIN rf_postmeta ON ( rf_posts.ID = rf_postmeta.post_id )
WHERE 1=1 AND (
( rf_postmeta.meta_key = 'companies' AND rf_postmeta.meta_value LIKE '{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}\"28519\"{f0051e01c7c6b46e691167a5e29156edd2458d9ab1c9b624aa1e8f51f7269615}' )
) AND rf_posts.post_type = 'testimonial' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC