correction bug requete sphinx
This commit is contained in:
parent
9983e9c1eb
commit
6025314471
@ -49,6 +49,8 @@ Class Ciblage
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Provisoir */
|
||||
$this->setFilter('bilTca', array(4, 5, 6));
|
||||
}
|
||||
public function extract()
|
||||
{
|
||||
@ -118,14 +120,16 @@ Class Ciblage
|
||||
$this->alpha .= $item;
|
||||
$i++;
|
||||
}
|
||||
$this->alpha .= ')';
|
||||
}
|
||||
$this->alpha .= ')';
|
||||
|
||||
}
|
||||
protected function setAlpha($name, $valeur)
|
||||
{
|
||||
$or = array('bilType', 'adr_com', 'adr_dept');
|
||||
$and = array('ape_etab','ape_entrep', 'NaceEntrep', 'NaceEtab');
|
||||
|
||||
$or = array('adr_com', 'adr_dept');
|
||||
$and = array('bilType', 'ape_etab','ape_entrep', 'NaceEntrep', 'NaceEtab');
|
||||
if(!empty($this->alpha))
|
||||
$this->alpha .= ' ';
|
||||
if(in_array($name, $or)) {
|
||||
if(!empty($valeur))
|
||||
$this->writeRequest($name, $valeur, true);
|
||||
|
Loading…
Reference in New Issue
Block a user