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

Bugfix/remove shuffle #135

Closed
wants to merge 2 commits into from

Conversation

simonhamp
Copy link
Contributor

The shuffle function seems to cause index pages of paginated collections to randomly take the view of one of the later pages in the resultset.

It probably needs further digging to understand why the wrong page is being substituted, but simply removing the shuffle seems to solve it for now.

@jesseleite
Copy link
Member

Thanks for the PR! That shuffle() though, was very intentional for reasons mentioned in #57.

We're also thinking that removing the shuffle only fixed this for you coincidentally, and that if there's a problem with a view leaking from one page to another, there's likely a more intentional fix required. Worth looking into, but going to close this one for now.

Feel free to create an issue with steps to reproduce, or even a example repo, if possible ❤️

@jesseleite jesseleite closed this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants