Files
payloadcms/packages/plugin-search
Sasha b8965077b8 fix(plugin-search): delete proper search document when doc has the same value but different relationTo (#9616)
Fixes https://github.com/payloadcms/payload/issues/9612

Previously, the plugin search with different collections but the same
IDs could delete a wrong search document on synchronization, because we
queried the search document only by `doc.value`. Instead, we should also
query by `doc.relationTo`.
2024-11-29 21:25:26 +02:00
..
2022-02-19 11:02:55 -05:00
2024-11-29 12:59:59 -05:00

Payload Search Plugin

A plugin for Payload to generate records of your documents that are extremely fast to search on.