adrienpoly / rubyvideo

Indexing all Ruby related videos
https://rubyvideo.dev
258 stars 50 forks source link

Sort speaker talks by date #376

Open nicogaldamez opened 2 weeks ago

nicogaldamez commented 2 weeks ago

When I visit a speaker’s page, it’d be nice to see talks ordered by date with the most recent at the top and the oldest at the bottom.

Right now, this is what a user see: image

adrienpoly commented 2 weeks ago

yes good idea

marcoroth commented 2 weeks ago

The talks are actually ordered from most recent to oldest. In this case it's bad data for some of the conferences, since it's using the published_at field which is off by a few years.

https://github.com/adrienpoly/rubyvideo/blob/aff996bde8a75fcee936c8a0b99c024df6b8c1c5/app/controllers/speakers_controller.rb#L24