Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix(db-mongodb): correctly pass through collation config in the adapter to be applied in queries via locales (#11242)
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. P
Paul committed
db59cb48e473d441fd9b56a9ee426e3336e44151
Parent: 0860837
Committed by GitHub <noreply@github.com>
on 12/8/2025, 3:51:15 PM