On trie les événements dupliqués par date de création
This commit is contained in:
parent
5797dc98bb
commit
9a97f12337
@ -159,7 +159,9 @@ class DuplicatedEvents(models.Model):
|
||||
return Event.objects.filter(possibly_duplicated=self).count()
|
||||
|
||||
def get_duplicated(self):
|
||||
return Event.objects.filter(possibly_duplicated=self)
|
||||
return Event.objects.filter(possibly_duplicated=self).order_by(
|
||||
"created_date"
|
||||
)
|
||||
|
||||
def merge_into(self, other):
|
||||
# for all objects associated to this group
|
||||
|
Loading…
x
Reference in New Issue
Block a user