2025-10-21 08:52##Error en la orden: SELECT * FROM (
SELECT
CASE WHEN empresa LIKE '%fl 33166%' 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
, MATCH (empresa,direccion,poblacion,descripcion) AGAINST ('+fl* +33166*' IN BOOLEAN MODE) AS score
FROM DIRECTORIO
WHERE activo='1' AND visible='1' AND eliminado='0' AND (( AND (poblacion LIKE '%Fl 33166%' OR direccion LIKE '%Fl 33166%') AND (
MATCH (empresa,direccion,poblacion,descripcion) AGAINST ('+fl* +33166*' IN BOOLEAN MODE)
OR MATCH (empresa,direccion,poblacion,descripcion) AGAINST ('fl-33166' IN BOOLEAN MODE)
) ) OR MATCH (keywords) AGAINST ('Fl 33166'))
) AS tab
ORDER BY cliente DESC, plan DESC, puntuacion DESC, orden DESC, rnk, score DESC, last_print DESC, fecha_registro DESC, empresa
LIMIT 24, 12####