Skip to content

Fix reverse keyset scrolling #4343

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

Closed
mp911de opened this issue Mar 24, 2023 · 0 comments
Closed

Fix reverse keyset scrolling #4343

mp911de opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@mp911de
Copy link
Member

mp911de commented Mar 24, 2023

Currently, we include the element at KeysetScrollPosition in the query via gte/lte. Using these operators with non-unique keys (e.g. firstName=John, age=41, id=1, firstName=John, age=41, id=2) with a query (firstName > John || firstName == John && age >= 41) includes potential duplicates that we're not able to remove from the final result.

We should resort to gt/lt instead of gte/lte.

@mp911de mp911de added the type: bug A general bug label Mar 24, 2023
@mp911de mp911de added this to the 4.1 RC1 (2023.0.0) milestone Mar 24, 2023
@mp911de mp911de self-assigned this Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant