Skip to content

Commit

Permalink
fix(synthese): fix cte name that was repeated
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Feb 14, 2025
1 parent e825d14 commit f0ba8d7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,9 @@ def build_bdc_status_filters(self, protection_status_value, red_list_filters):
)

bdc_status_by_type_cte = bdc_status_by_type_cte.where(or_(*bdc_status_filters))
bdc_status_by_type_cte = bdc_status_by_type_cte.cte(name="status_by_type")
bdc_status_by_type_cte = bdc_status_by_type_cte.cte(
name="bdc_status_by_type_" + str(uuid.uuid4())[:4]
)

# group by de façon à ne selectionner que les taxons
# qui ont l'ensemble des textes selectionnés par l'utilisateur
Expand Down

0 comments on commit f0ba8d7

Please sign in to comment.