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

Enqueue media object indexing job when media object and children are reindexed #5111

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

cjcolvar
Copy link
Member

This should solve the case where a structure is updated or a section title is updated without saving the parent media object. Also moving the enqueueing of the background job to the after_update_index callback for media objects (from to_solr) should ensure it isn't enqueued when the media object isn't actually getting reindexed.

Copy link
Contributor

@masaball masaball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@cjcolvar cjcolvar merged commit ea962ef into develop Mar 14, 2023
@cjcolvar cjcolvar deleted the parental_indexing branch March 14, 2023 18:54
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.

2 participants