Poll options are being reversed (after recent update?)

AI-generated summary

A user reported that poll options created before a recent update were being displayed in reverse order on https://community.wanikani.com, while new polls created after the update showed options correctly. seanblue provided examples of affected polls. zogstrip investigated, pushed a fix, and deployed it, resolving the issue. seanblue confirmed the fix was successful.

It looks like polls created before the recent update have had their options reversed. If I made a poll with the options:

  • Option 1
  • Option 2
  • Option 3
  • Option 4

It is now showing up as:

  • Option 4
  • Option 3
  • Option 2
  • Option 1

This is happening on https://community.wanikani.com and I’ve confirmed with two of my polls and one poll created by another person.

New polls created after the update seem to show the options in the correct order.

1 Like

Cc @zogstrip to take a look at

1 Like

@seanblue can you link to the posts containing these polls?

2 Likes

Here are a few public polls:

3 Likes

Thanks, I’ve pushed a fix and deployed it to your instance :wink:

https://github.com/discourse/discourse/commit/606faa2ee5b1feda999982cf8c5bf3a02532b910

5 Likes

Thanks for the quick fix. I can confirm that it’s been fixed on https://community.wanikani.com.

2 Likes

This topic was automatically closed after 6 hours. New replies are no longer allowed.