dashboard_acheteur_departement_code est une liste

This commit is contained in:
Colin Maudry
2026-03-14 00:15:53 +01:00
parent 4771d14744
commit f0f9d8cb3d
+1 -4
View File
@@ -146,10 +146,7 @@ def udpate_dashboard_cards(
pl.col("acheteur_categorie").is_in(dashboard_acheteur_categorie)
)
if (
dashboard_acheteur_departement_code
and len(dashboard_acheteur_departement_code) >= 2
):
if dashboard_acheteur_departement_code:
lff = lff.filter(
pl.col("acheteur_departement_code").is_in(
dashboard_acheteur_departement_code