Skip to content

Commit

Permalink
fix(mednum): use di_source_id to join
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Jun 22, 2023
1 parent c7b4f8d commit a83c7ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ final AS (
{{ truncate_text(presentation) }} AS "presentation_resume",
{{ presentation }} AS "presentation_detail"
FROM services
LEFT JOIN structures ON services.structure_id = structures.id AND services.source = structures.source
LEFT JOIN structures ON services.structure_id = structures.id AND services._di_source_id = structures._di_source_id
)

SELECT * FROM final

0 comments on commit a83c7ac

Please sign in to comment.