Bug: switching tags does not refresh hot/new/top sorting

Bug description:
When you go to the community page and choose “new” from the top right sort, then click a tag say “javascript” the page content refreshes, but the sort will always be ‘hot’ even though the dropdown hasn’t refreshed and might still say ‘new’

Expected vs Current Behavior:
I would expect one of two things to happen

  1. either make the content that is loaded reflect the sort dropdown ( so ‘new’ + "#javascript’ is in fact new in javascript.
  2. reset the sorting dropdown to actually reflect which view it is ; i.e. when I click ‘#javascript’ tag, and the ‘hot’ content loads, reset the sort dropdown to ‘hot’.

Steps to reproduce:
go to https://replit.com/community/all
observe the content.
choose ‘new’ in the upper right sort.
content refreshes to new
now click “#javascript” in the ‘top tags’ list
observe the content that is loaded now is the ‘#javascript’ tagged content but it is the ‘hot’ content, not the ‘new’ content - even though the dropdown on the right still shows ‘new’. This is wrong. You can see this by toggling the dropdown to something else like ‘top’ then back to ‘new’ and you will NOW see the ‘new + #javascript’ content that should have been loaded in the first place. ( Or that the sorting toggle should have been reset to ‘hot’ )

Bug appears at this link: https://replit.com/community/all

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile: https://replit.com/@triptych

1 Like

Thanks for the report :+1: