diff --git a/config/Sphinx/Dev/ciblage.conf b/config/Sphinx/Dev/ciblage.conf index bfca086..e4d1f3a 100644 --- a/config/Sphinx/Dev/ciblage.conf +++ b/config/Sphinx/Dev/ciblage.conf @@ -9,7 +9,7 @@ source ciblage sql_query_pre = SET NAMES utf8 sql_query = \ SELECT id, LPAD(siren, 9, '000000000') AS siren, LPAD(nic, 5, '00000') AS nic, \ - actif, siege, \ + siege, \ REPLACE(REPLACE(adr_dep, '2B', '202'), '2A', '201') AS adr_dep, \ IF(tel>0,1,0) AS tel, \ IF(fax>0,1,0) AS fax, \ @@ -65,7 +65,6 @@ source ciblage CASE zus WHEN '' THEN 0 WHEN 'HORSZONE' THEN 0 WHEN 'NSP' THEN 0 WHEN 'X' THEN 0 ELSE 1 END as zus, \ CASE zfu WHEN '' THEN 0 WHEN 'HORSZONE' THEN 0 WHEN 'NSP' THEN 0 WHEN 'X' THEN 0 ELSE 1 END as zfu, \ CASE zru WHEN '' THEN 0 WHEN 'NSP' THEN 0 ELSE 1 END as zru, \ - CASE zus WHEN '' THEN 0 WHEN 'NSP' THEN 0 ELSE 1 END as zus, \ CASE cucs WHEN '' THEN 0 WHEN 'NSP' THEN 0 ELSE 1 END as cucs, \ IF(zrr=1,1,0) as zrr, \ IF(zafr=1,1,0) as zafr \