27002 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 '{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}\"27002\"{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}' )
) AND rf_posts.post_type = 'research' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
27002 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 '{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}\"27002\"{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}' )
) AND rf_posts.post_type = 'post' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
27002 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 '{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}\"27002\"{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}' )
) AND rf_posts.post_type = 'event' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
27002 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 '{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}\"27002\"{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}' )
) AND rf_posts.post_type = 'event' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC
27002 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 '{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}\"27002\"{d19d7216d1c515479512469db7dd9c09df197617a8abc64b4be118359db29041}' )
) AND rf_posts.post_type = 'testimonial' AND ((rf_posts.post_status = 'publish'))
GROUP BY rf_posts.ID
ORDER BY rf_posts.post_date DESC