Projet

Général

Profil

Actions

Anomalie #4787

fermé

[SearchDoc] La méthode useCollection ne fonctionne pas correctement avec le type de collection recherche groupée

Ajouté par Charles Bonnissent il y a presque 12 ans. Mis à jour il y a presque 12 ans.

Statut:
Intégré
Priorité:
Normal
Assigné à:
Version cible:
Début:
27/05/2014
Echéance:
% réalisé:

100%

Temps estimé:
Version source:
Solution proposée:
Principaux fichiers impactés:
Complexité:
Contrôle:
Thème:
Recherche
Régression:

Description

Soit le code suivant :

    $searchDoc = new SearchDoc("", $searchParam["selectedFam"]);
    $searchDoc->useCollection($searchParam["collection"]);

    $sql = $searchDoc->getOriginalQuery();

    error_log(var_export($sql, true));

$searchParam["collection"] fait référence à une recherche groupée. Le SQL produit ne prend en compte que la première recherche.

Actions

Formats disponibles : Atom PDF