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

fix: duplicate list preferences stored #9185

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

DanRibbens
Copy link
Contributor

The collection list columns are stored as user preferences to the payload-preferences collection. Normally one user should never have duplicate documents with the same key. This is controlled by using an upsert normally. The collection list does not have a good way to call upsert and was creating preferences documents every time. This change makes it so that existing preferences are updated rather than created with each column change.

@JarrodMFlesch
Copy link
Contributor

Looks good 👍

@DanRibbens DanRibbens force-pushed the fix/collection-list-preferences branch from 044a783 to 40cf382 Compare November 15, 2024 18:28
@DanRibbens DanRibbens merged commit a5cae07 into beta Nov 15, 2024
51 checks passed
@DanRibbens DanRibbens deleted the fix/collection-list-preferences branch November 15, 2024 19:22
Copy link

🚀 This is included in version v3.0.0-beta.131

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

Successfully merging this pull request may close these issues.

3 participants