@null what about in 3.x ?
Does anyone know if there is the equivalent of a
RequestFilter in SS4? (middleware or similar I guess?)
- In addition to localising fields within a DataObject, a filter can also be applied with the TractorCow\Fluent\Extension\FluentFilteredExtension extension to conditionally show or hide DataObjects within specific locales. This will create a many_many relationship between your object and the locales table.
Will have a play
If you want to localise a has_one relation then you can add the field (with 'ID' suffix included).
Actually looks like Fluent can do it