Worldcubeassociation.org: Old post in latest news section

Created on 8 Dec 2020  路  3Comments  路  Source: thewca/worldcubeassociation.org

Describe the bug
The old post about dues system is shown into latest news section at the moment.

To Reproduce
Steps to reproduce the behavior:

  1. Go to homepage
  2. See error

Expected behavior
Not sure what should be here, but I think that the post from 2018 is pretty old.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 Home Edition
  • Browser Yandex (it's a Chromium)
  • Version 20.11.2.78 (64-bit)

Most helpful comment

Done!

For some reason that post was stickied until 2020-12-22.

All 3 comments

The relevant line for selecting the latest post: https://github.com/thewca/worldcubeassociation.org/blob/master/WcaOnRails/app/controllers/posts_controller.rb#L39

It orders by sticky first, then created date (latest first).
Because the date is so far in the past, the post must still be sticky (which seems to be the case as going here shows a blue header).

@EvilAngel00 do you mind taking a look at this?
It should simply be a matter of un-sticking the dues post.

Done!

For some reason that post was stickied until 2020-12-22.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maconard picture maconard  路  7Comments

AlexKatyukov picture AlexKatyukov  路  3Comments

UnsolvedCypher picture UnsolvedCypher  路  4Comments

jfly picture jfly  路  9Comments

jfly picture jfly  路  8Comments