From c85729434571734591708e44889bb635f68ce66f Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Thu, 5 Dec 2024 21:32:35 +0100 Subject: [PATCH] Fix bug fusion manuelle --- src/agenda_culturel/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/forms.py b/src/agenda_culturel/forms.py index 443a11d..cd7ced7 100644 --- a/src/agenda_culturel/forms.py +++ b/src/agenda_culturel/forms.py @@ -641,7 +641,7 @@ class MergeDuplicates(Form): result = [] for s in selected: for e in self.duplicates.get_duplicated(): - if e.pk == selected: + if e.pk == s: result.append(e) break return result