From 3b8f2c2e93cfb3a48164bac18626f659f259fe80 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 18 Dec 2013 13:43:10 +0000 Subject: [PATCH] issue #0001817 : Add source and source_id to the main sql request, use in rechercheEnt --- library/Metier/sphinx/rechercheFonc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Metier/sphinx/rechercheFonc.php b/library/Metier/sphinx/rechercheFonc.php index b4c633fd..4b6d7927 100644 --- a/library/Metier/sphinx/rechercheFonc.php +++ b/library/Metier/sphinx/rechercheFonc.php @@ -1619,6 +1619,8 @@ function rechercheEnt(&$formR, $deb, $nbRep, $max, $sirenValide = false) } $requeteDB = 'SELECT id, + source, + source_id, CONCAT(siren,nic) AS siret, siren, nic,