Closed mike-moreau closed 4 months ago
Thanks for catching that! I'll make sure this gets release in the Craft 4 & 5 versions - I'm away on holiday at the moment so it could be another week or 2 before I get the fix out.
Thanks @mike-moreau, this fix is included in today's release (4.1.1)
When the
indexRelations
config is set tofalse
and the queue is used, the DeindexElement queue job is not reached in the before delete element event.This results in the element not be deindexed in Algolia.
Removing the return here ensures the queue job gets pushed.