Loading module/Application/src/Processus/Intervenant/RechercheProcessus.php +4 −11 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ class RechercheProcessus protected $showHisto = false; /** * @param string $critere * @param integer $limit Loading @@ -35,7 +34,6 @@ class RechercheProcessus } /** * @return bool */ Loading @@ -45,7 +43,6 @@ class RechercheProcessus } /** * @param bool $showHisto * Loading @@ -59,7 +56,6 @@ class RechercheProcessus } /** * @param string $critere * @param integer $limit Loading @@ -72,7 +68,6 @@ class RechercheProcessus } private function sqlLocale(): string { $sql = " Loading Loading @@ -105,12 +100,11 @@ class RechercheProcessus } private function sqlSource(): string { return " SELECT null id, NULL id, i.code, i.statut_id, i.nom_usuel, Loading @@ -122,7 +116,7 @@ class RechercheProcessus si.libelle statut, i.critere_recherche critere, i.annee_id, null histo_destruction NULL histo_destruction FROM src_intervenant i LEFT JOIN structure s ON s.id = i.structure_id Loading @@ -132,7 +126,6 @@ class RechercheProcessus } protected function makeKey(array $data, string $key): string { $resKey = $key; Loading @@ -144,7 +137,6 @@ class RechercheProcessus } private function rechercheGenerique($critere, $limit = 50, string $key = ':CODE', $onlyLocale = false) { if (strlen($critere) < 2) return []; Loading Loading @@ -206,9 +198,10 @@ class RechercheProcessus 'destruction' => $r['HISTO_DESTRUCTION'], ]; } else { if ($intervenants[$k]['destruction'] && !$r['destruction']) { if ($intervenants[$k]['destruction'] && !$r['HISTO_DESTRUCTION']) { $intervenants[$k]['destruction'] = null; } if ($intervenants[$k]['statut'] && !is_array($intervenants[$k]['statut'])) { $intervenants[$k]['statut'] = [$intervenants[$k]['statut']]; } Loading Loading
module/Application/src/Processus/Intervenant/RechercheProcessus.php +4 −11 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ class RechercheProcessus protected $showHisto = false; /** * @param string $critere * @param integer $limit Loading @@ -35,7 +34,6 @@ class RechercheProcessus } /** * @return bool */ Loading @@ -45,7 +43,6 @@ class RechercheProcessus } /** * @param bool $showHisto * Loading @@ -59,7 +56,6 @@ class RechercheProcessus } /** * @param string $critere * @param integer $limit Loading @@ -72,7 +68,6 @@ class RechercheProcessus } private function sqlLocale(): string { $sql = " Loading Loading @@ -105,12 +100,11 @@ class RechercheProcessus } private function sqlSource(): string { return " SELECT null id, NULL id, i.code, i.statut_id, i.nom_usuel, Loading @@ -122,7 +116,7 @@ class RechercheProcessus si.libelle statut, i.critere_recherche critere, i.annee_id, null histo_destruction NULL histo_destruction FROM src_intervenant i LEFT JOIN structure s ON s.id = i.structure_id Loading @@ -132,7 +126,6 @@ class RechercheProcessus } protected function makeKey(array $data, string $key): string { $resKey = $key; Loading @@ -144,7 +137,6 @@ class RechercheProcessus } private function rechercheGenerique($critere, $limit = 50, string $key = ':CODE', $onlyLocale = false) { if (strlen($critere) < 2) return []; Loading Loading @@ -206,9 +198,10 @@ class RechercheProcessus 'destruction' => $r['HISTO_DESTRUCTION'], ]; } else { if ($intervenants[$k]['destruction'] && !$r['destruction']) { if ($intervenants[$k]['destruction'] && !$r['HISTO_DESTRUCTION']) { $intervenants[$k]['destruction'] = null; } if ($intervenants[$k]['statut'] && !is_array($intervenants[$k]['statut'])) { $intervenants[$k]['statut'] = [$intervenants[$k]['statut']]; } Loading