Correction dirigeant
This commit is contained in:
parent
57e8e4c4bf
commit
300f126743
@ -139,7 +139,8 @@ Class SDmotor
|
|||||||
'Durée exécution :' => $total_time,
|
'Durée exécution :' => $total_time,
|
||||||
'Erreure :' => 'Le formulaire est Vide !')
|
'Erreure :' => 'Le formulaire est Vide !')
|
||||||
);
|
);
|
||||||
$this->sphinx->SetSortMode(SPH_SORT_EXTENDED, 'sirenValide DESC, rang DESC, actif DESC, siege DESC');
|
if($this->index == 'ent')
|
||||||
|
$this->sphinx->SetSortMode(SPH_SORT_EXTENDED, 'sirenValide DESC, rang DESC, actif DESC, siege DESC');
|
||||||
$this->sphinx->SetLimits(intval($this->deb), intval($this->nbRep), intval($this->max));
|
$this->sphinx->SetLimits(intval($this->deb), intval($this->nbRep), intval($this->max));
|
||||||
$this->maxSizeWord = 0;
|
$this->maxSizeWord = 0;
|
||||||
switch($this->formR['SPH_MATCH']) {
|
switch($this->formR['SPH_MATCH']) {
|
||||||
@ -542,6 +543,7 @@ Class SDmotor
|
|||||||
switch($seq) {
|
switch($seq) {
|
||||||
case 'radica':
|
case 'radica':
|
||||||
//$request = substr(trim($this->formR['raisonSociale']), 0, 3);
|
//$request = substr(trim($this->formR['raisonSociale']), 0, 3);
|
||||||
|
continue;
|
||||||
break;
|
break;
|
||||||
case 'quorum':
|
case 'quorum':
|
||||||
$request .= ' "'.$this->formR[$name].'"'.(($quorum[0] >= 1)?'/'.$quorum[0]:'');
|
$request .= ' "'.$this->formR[$name].'"'.(($quorum[0] >= 1)?'/'.$quorum[0]:'');
|
||||||
@ -554,7 +556,8 @@ Class SDmotor
|
|||||||
if(strlen($this->formR[$name]) > 5) {
|
if(strlen($this->formR[$name]) > 5) {
|
||||||
$request .= '"'.$this->formatRaisonSociale($this->formR[$name], true).'" | ';
|
$request .= '"'.$this->formatRaisonSociale($this->formR[$name], true).'" | ';
|
||||||
$request .= '"'.$this->formatRaisonSociale($this->formR[$name], true).'" '.(($quorum[0] >= 1)?'/'.$quorum[0]:'').' ';
|
$request .= '"'.$this->formatRaisonSociale($this->formR[$name], true).'" '.(($quorum[0] >= 1)?'/'.$quorum[0]:'').' ';
|
||||||
}
|
} else
|
||||||
|
continue;
|
||||||
break;
|
break;
|
||||||
case 'points':
|
case 'points':
|
||||||
$request .= '"'.str_replace('.', '', $this->formR[$name]).'"';
|
$request .= '"'.str_replace('.', '', $this->formR[$name]).'"';
|
||||||
@ -562,7 +565,8 @@ Class SDmotor
|
|||||||
case 'acrony':
|
case 'acrony':
|
||||||
if(!empty($this->acronyme) and strlen($this->acronyme) > 2) {
|
if(!empty($this->acronyme) and strlen($this->acronyme) > 2) {
|
||||||
$request .= '"'.$this->acronyme.' '.$this->formatRaisonSociale($this->formR[$name]).'"/'.$quorum[0];
|
$request .= '"'.$this->acronyme.' '.$this->formatRaisonSociale($this->formR[$name]).'"/'.$quorum[0];
|
||||||
}
|
} else
|
||||||
|
continue;
|
||||||
break;
|
break;
|
||||||
case 'split':
|
case 'split':
|
||||||
for($count=0;$count < 2; $count++) {
|
for($count=0;$count < 2; $count++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user