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

Update index on Attach/detach media #3562

Merged
merged 6 commits into from
Aug 3, 2023
Merged

Update index on Attach/detach media #3562

merged 6 commits into from
Aug 3, 2023

Conversation

MARQAS
Copy link
Contributor

@MARQAS MARQAS commented Jul 27, 2023

Description of the Change

This PR fill fix the issue where attaching or detaching the media is not updating the index.

Closes #3542

How to test the Change

  • Enable Protected content from ElasticPress settings
  • Go to the media library and Select the view mode as a list.
  • Attach/Detach the media
  • Check that the attachments are coming from ES with updated parent.

Changelog Entry

Fixed - Update index on attach/detach media

Credits

Props @MARQAS

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@MARQAS MARQAS marked this pull request as ready for review July 27, 2023 00:49
@MARQAS MARQAS self-assigned this Jul 27, 2023
@felipeelia felipeelia merged commit 2b32a92 into develop Aug 3, 2023
@felipeelia felipeelia deleted the fix/issue-3542 branch August 3, 2023 16:54
@felipeelia felipeelia added this to the 4.7.0 milestone Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attach/detach not updating index
2 participants