payload icon indicating copy to clipboard operation
payload copied to clipboard

fix(db-mongodb): correctly pass through collation config in the adapter to be applied in queries via locales

Open paulpopus opened this issue 1 year ago • 1 comments

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.

paulpopus avatar Feb 18 '25 01:02 paulpopus

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖 This PR introduced no changes to the esbuild bundle! 🙌

github-actions[bot] avatar Nov 18 '25 22:11 github-actions[bot]

This was supposed to be merged a while ago. I think we overlooked it after the approval.

DanRibbens avatar Dec 08 '25 15:12 DanRibbens

🚀 This is included in version v3.68.0

github-actions[bot] avatar Dec 09 '25 19:12 github-actions[bot]