ants_hub: fix typo in order_by (#80590)
gitea/chrono/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-08-28 11:21:42 +02:00
parent 5fbbe0e984
commit a68026e839
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class Place(models.Model):
.values_list(
'extra_data__ants_identifiant_predemande', 'event__start_datetime', 'cancellation_datetime'
)
.order_by('event__state_datetime')
.order_by('event__start_datetime')
)
for identifiant_predemande_data, start_datetime, cancellation_datetime in bookings:
if not isinstance(identifiant_predemande_data, str):