Adding new field with default option on existing pages, should apply default?


When adding a new field, with a default option, to a blueprint of which there are already several pages, do not seem to apply the default to these pages.

If I am right, this leads us to have to manually update pages, which may be many and thus , a pain. Or to write a script for this specifically.

Does this make sense? should I add a feature suggestion ?


Default values are only applied at page creation. So indeed you have to write a script that updates all pages without a value.

But that is not very difficult, you can do that from a template or a route, loop through the relevant pages and call $page->update().

True, so prolly not worth a feature.