payload
payload copied to clipboard
fix(db-mongodb): correctly pass through collation config in the adapter to be applied in queries via locales
Fixes https://github.com/payloadcms/payload/issues/11137 partially
We were previously applying collation.locale to queries if locale is provided AND collation config is set however this config wasn't threaded through so it always came up undefined.
You can now add collation config collation: { strength: 1 } to enable it.
📦 esbuild Bundle Analysis for payload
This analysis was generated by esbuild-bundle-analyzer. 🤖 This PR introduced no changes to the esbuild bundle! 🙌
This was supposed to be merged a while ago. I think we overlooked it after the approval.
🚀 This is included in version v3.68.0