Commit e1a1a516 authored by fred's avatar fred
Browse files

home: get sounds ordered by creation time, not diffusion time (#1125)

parent ca785567
......@@ -431,7 +431,7 @@ class Home(TemplateView):
where=['''datetime = (SELECT MIN(datetime)
FROM emissions_diffusion
WHERE episode_id = emissions_episode.id)'''],
tables=['emissions_diffusion'],).order_by('-first_diffusion').distinct() [:3]
tables=['emissions_diffusion'],).order_by('-creation_timestamp').distinct() [:3]
context['newsletter_form'] = SubscribeForm()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment