top-gg / issues

Report bugs related to Top.gg. For feature requests: https://feedback.top.gg
35 stars 13 forks source link

Review score filter on search page doesn't do anything or shows inconsistent results #677

Open pixxies opened 3 years ago

pixxies commented 3 years ago

Expected Behavior

Clicking on a review score filter should limit the results to bots with that review score.

Observed Behavior

Instead the results page just reloads the default list for example on the top page, or loads different bots with inconsistent review scores (see screenshots and explanation below).

Applicable Links or Attachments

This is the result for filtering bots with 5* reviews: https://top.gg/tag/multipurpose?reviewScore=5 Screen Shot 2021-05-14 at 14 44 20

This is the result filtering at 0+: https://top.gg/tag/multipurpose?reviewScore=0 Screen Shot 2021-05-14 at 14 44 13

In both cases, the bots on the results page have high review scores. OcelotBot for example is rated 4.73 yet appears at the top of the results page for bots rated 0+ (screenshot 2), yet it doesn't appear on the results page for bots rated 5. However, Ren does appear on the 5* results page (see position 2 on screenshot 1) but it's only rated 2.64.

Steps to Reproduce

  1. Open top.gg.
  2. Go to a bot category page;
  3. Click on the review score filter.
i0bs commented 3 years ago

Able to reproduce this bug, may be likely related to #664 .