Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless Scrolling: fix bug that does not sort giveaways across multiple pages #1276

Closed
Thexder0 opened this issue Apr 10, 2019 · 9 comments
Closed
Labels
Milestone

Comments

@Thexder0
Copy link

Thexder0 commented Apr 10, 2019

When sorting by Rating, each page is sorted, but the algorithm does not sort across multiple pages.

Steps to Reproduce

  1. Activate Endless Scrolling
  2. Let a couple pages load
  3. Click on "Sort (Rating -- Descending)"

Expected Behavior
The expected behaviour was to have all GAs sorted by rating, independently of the page they came from.

Console Errors
None.

System (please complete the following information):

  • ESGST Version: 8.3.3
  • Browser + Version: Chrome v73

Additional Context
Just want to add: thank you for this fantastic add-on! This bug is absolutely not urgent, we can totally live without Sort by Rating across multiple pages, of course! Thank you!

Screenshot
This shows the GAs of two consecutive pages, AFTER sorting by rating. Turbo Pug is the first GA in the next page.
UnexpectedSort

@rafaelgomesxyz rafaelgomesxyz added this to the 8.3.4 milestone Apr 11, 2019
@rafaelgomesxyz rafaelgomesxyz changed the title Sort by rating across multiple pages (with Endless Scrolling) does not work as expected Endless Scrolling: fix bug that does not sort giveaways across multiple pages Apr 11, 2019
@Thexder0
Copy link
Author

Thexder0 commented May 5, 2019

Hm, sorry to say, but this is still not working for "Ratings"... When I sort by name, it does sort across pages, but for some reason "Sort by Rating" is still kind of crazy.

Once again, thank you for all the work, the add-on is amazing!

Cheers!

Edit: not sure how I can reopen this "Issue", so to speak -- should I start a new thread?

@rafaelgomesxyz rafaelgomesxyz reopened this May 5, 2019
@rafaelgomesxyz
Copy link
Owner

rafaelgomesxyz commented May 25, 2019

It's working fine for me. Did you wait until all categories were loaded? The filters only kick in after all ratings have been loaded for all giveaways in the page. Try loading the page and waiting a bit to see if it sorts itself.

@Thexder0
Copy link
Author

Hm, let me see...

Ok, I did some further experiments. I use the filter "Entered = FALSE" in almost all SG pages I visit. With this, the sorting DOES NOT work for me (it looks like that screenshot I posted a while ago).

However: if remove this filter, yes, the feature works beautifully, across pages and all! So it must be some sort of interaction between the sorting and this filter? Maybe the problem is not the page breaks, but somehow the sorting gets lost when it finds a filtered GA?

Anyway, if you want to debug this and I can help more, let me know.

Cheers (and thanks)!

@rafaelgomesxyz
Copy link
Owner

rafaelgomesxyz commented May 26, 2019

Sorry, I still cannot reproduce it, so I'm going to need your settings, if you can share them. Make sure to download them through the "Download settings" button, because if you download them through the backup menu, it will contain your personal information.

@Thexder0
Copy link
Author

Thexder0 commented May 26, 2019 via email

@Thexder0
Copy link
Author

Thexder0 commented May 26, 2019 via email

@rafaelgomesxyz
Copy link
Owner

Yes, thanks.

@rafaelgomesxyz
Copy link
Owner

Alright, sorry it took this long, I can reproduce now with your settings. Will try to fix for the next version.

@Thexder0
Copy link
Author

Thexder0 commented Jun 28, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants