Skip to content

Commit

Permalink
fix: change literal(impr.id_dataset)
Browse files Browse the repository at this point in the history
 utiliser la colonne id_dataset de la table t_import_synthese plutôt que d’utiliser la valeur litéral imprt.id_dataset
  • Loading branch information
andriacap committed Mar 11, 2024
1 parent 7a411f9 commit a254824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/geonature/core/gn_synthese/imports/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def import_data_to_synthese(imprt):
*[transient_table.c[field.dest_field] for field in insert_fields],
sa.literal(source.id_source),
sa.literal(source.module.id_module),
sa.literal(imprt.id_dataset),
transient_table.c.id_dataset,
sa.literal("I"),
)
.where(transient_table.c.id_import == imprt.id_import)
Expand Down

0 comments on commit a254824

Please sign in to comment.