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(plugin-search): deleting docs even when there's a published version #10993

Conversation

paulpopus
Copy link
Contributor

Fixes #9770

If you had a published document but then created a new draft it would delete the search doc, this PR adds an additional find to check if an existing published doc exists before deleting the search doc.

Also adds a few jsdocs to plugin config

@paulpopus paulpopus merged commit 42da87b into main Feb 5, 2025
72 checks passed
@paulpopus paulpopus deleted the fix/plugin-search-deleting-docs-even-when-there's-a-published-version branch February 5, 2025 15:14
Copy link
Contributor

github-actions bot commented Feb 5, 2025

🚀 This is included in version v3.21.0

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.

(CTRL | CMD) + S still works with with autosave set
1 participant