2026-04-23 17:58##Error en la orden: SELECT * FROM (
SELECT
CASE WHEN empresa LIKE '%col.%' THEN 1 ELSE 2 END AS rnk,
id, cliente, empresa, direccion, poblacion, pais, img_logo, img_flyer,
slug, puntuacion, plan, clase, mail_bienvenida, orden, fecha_registro, last_print
FROM DIRECTORIO
WHERE activo='1' AND visible='1' AND eliminado='0' AND (( AND (poblacion LIKE '%Col.%' OR direccion LIKE '%Col.%') AND (
empresa LIKE '%col.%' OR
direccion LIKE '%col.%' OR
poblacion LIKE '%col.%' OR
descripcion LIKE '%col.%'
) AND pais='MX') OR MATCH (keywords) AGAINST ('Col.'))
) AS tab
ORDER BY cliente DESC, plan DESC, puntuacion DESC, orden DESC, rnk, last_print DESC, fecha_registro DESC, empresa
LIMIT 408, 12####