Scientific Research
FST CENTRES
SHARED FST CENTRES
OTHER CENTRES
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) INNER JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) INNER JOIN wp_postmeta AS mt3 ON ( wp_posts.ID = mt3.post_id ) INNER JOIN wp_postmeta AS mt4 ON ( wp_posts.ID = mt4.post_id ) INNER JOIN wp_postmeta AS mt5 ON ( wp_posts.ID = mt5.post_id ) WHERE 1=1 AND wp_posts.ID NOT IN (26735,24547,24290,20814,18638,10680,2307,2067,2066,2065,2064,2062,2061,1775,1774,1773,1772,1771,1770,1726,1714,1656,1354) AND (
wp_postmeta.meta_key = 'noticia_ordem'
AND
(
( mt1.meta_key = 'noticia_tipo' AND mt1.meta_value LIKE '{0c8620b613725c1352f68730c2409f71057c58f91658ac77ca28bafebace7ba9}:\"noticia\";{0c8620b613725c1352f68730c2409f71057c58f91658ac77ca28bafebace7ba9}' )
AND
( mt2.meta_key = 'noticia_localizacao_navegacao' AND mt2.meta_value LIKE '{0c8620b613725c1352f68730c2409f71057c58f91658ac77ca28bafebace7ba9}:\"investigacao\";{0c8620b613725c1352f68730c2409f71057c58f91658ac77ca28bafebace7ba9}' )
AND
mt3.meta_key = 'noticia_ordem'
AND
mt4.meta_key = 'noticia_data_publicacao'
AND
( mt5.meta_key = 'noticia_data_publicacao' AND mt5.meta_value <= '20240920' )
)
) AND ((wp_posts.post_type = 'noticia' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled'))) GROUP BY wp_posts.ID ORDER BY CAST(mt3.meta_value AS CHAR) DESC, CAST(mt4.meta_value AS CHAR) DESC LIMIT 0, 3