Commit cbee94ab authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction de la fenêtre modale de recherche de saisie de service :...

Correction de la fenêtre modale de recherche de saisie de service : suppression des lignes blanches et des doublons d’éléments pédagogiques dans la liste de résultats (#64663)
parent 7f4106ab
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ select * from (
    JOIN etape e ON cp.etape_id = e.id
    JOIN TYPE_FORMATION tf on e.TYPE_FORMATION_ID = tf.ID
    JOIN GROUPE_TYPE_FORMATION gtf on tf.GROUPE_ID = gtf.ID
    JOIN structure s ON s.id = e.structure_id OR s.id = ep.structure_id
	JOIN structure s ON s.id = COALESCE(e.structure_id, ep.structure_id)
    LEFT JOIN periode pe ON ep.periode_id = pe.id
    LEFT JOIN (SELECT DISTINCT element_pedagogique_id FROM type_intervention_ep WHERE histo_destruction IS NULL) tiep ON tiep.element_pedagogique_id = ep.id
  where
+1 −0
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@ Util = {
        });

        select.selectpicker('destroy');
        select.find('option.bs-title-option').remove();
        select.selectpicker();
        if (1 == shown) {
            select.selectpicker('val', lastShown);