-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Prevent the duplicate last entry when sorting by _createdAt #1334
Conversation
This should prevent the duplicate last entry issue parse-community#1309
@W0lfw00d It looks good to me. Can you provide details on how to replicate the issue? |
Basically have more row than can during the initial load (40 for example) and check the length of (and the bottom two rows will be identical) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* parse: (36 commits) prepare for 2.0.4 (parse-community#1347) Only do a complex query for createdAt instead of -createdAt (parse-community#1334) Update parse to the latest version 🚀 (parse-community#1345) Update webpack to the latest version 🚀 (parse-community#1344) Update core-js to the latest version 🚀 (parse-community#1343) Update core-js to the latest version 🚀 (parse-community#1342) Update core-js to the latest version 🚀 (parse-community#1341) Update eslint-plugin-jest to the latest version 🚀 (parse-community#1340) Update eslint-plugin-jest to the latest version 🚀 (parse-community#1339) Update webpack to the latest version 🚀 (parse-community#1338) Update babel7 to the latest version 🚀 (parse-community#1337) Fixed incorrect links to PR details (parse-community#1329) Update babel7 to the latest version 🚀 (parse-community#1335) Update eslint-plugin-react to the latest version 🚀 (parse-community#1327) Update react to the latest version 🚀 (parse-community#1326) Update cross-env to the latest version 🚀 (parse-community#1324) This should resolve parse-community#1297. The objectId was missing from the filter list. (parse-community#1315) Update eslint-plugin-react to the latest version 🚀 (parse-community#1322) Update cross-env to the latest version 🚀 (parse-community#1321) Update eslint-plugin-react to the latest version 🚀 (parse-community#1319) ... # Conflicts: # package-lock.json
After parse-community#1334, the infinite scroll is no longer loading the next set of objects. This commit undoes parse-community#1334, and tries another approach in order to fix the original problem.
Only do a complex query for
createdAt
instead of-createdAt
This should resolve this issue: #1309