1

Craft 3.1 seems to have removed the functionality where if a section is saved, all entries in that section are re-saved.

This has broken a bunch of functionality that relies on this on a site I've built.

Is there a workaround? Even if it's building another plugin to somehow listen for a save section event (is there such an event) manually triggering the same thing?

1

Even if it's building another plugin to somehow listen for a save section event (is there such an event) manually triggering the same thing?

There's an EVENT_AFTER_SAVE_SECTION event you can listen to where you can put a ResaveElements job in the queue for the specific entries in the section that was just saved.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.