We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9f87e commit 17bc940Copy full SHA for 17bc940
packages/backend/src/services/hebergement/Hebergement.js
@@ -225,7 +225,6 @@ ${new Array(nbRows)
225
LEFT JOIN front.personne_morale pmu ON pmu.siren = pmh.siren AND pmu.current = true
226
LEFT JOIN front.personne_physique pph ON pph.organisme_id = h.organisme_id AND pph.current = TRUE
227
LEFT JOIN front.user_organisme uo ON (uo.org_id = pmu.organisme_id OR uo.org_id = pph.organisme_id)
228
- LEFT JOIN front.personne_physique pp ON pp.organisme_id = uo.org_id AND pp.organisme_id = h.organisme_id AND pp.current = TRUE
229
WHERE h.CURRENT IS TRUE AND (pmh.siren = pmu.siren OR o.type_organisme = 'personne_physique') `,
230
getPreviousValueForHistory: `
231
SELECT
0 commit comments