Important: Extended ContactRepository::findByPid() signature
Description
To support the new "Show hidden records" plugin option, the
\FGTCLB\
gained an extended method:
find— the new optionalBy Pid (int $pid, bool $show Hidden = false): Query Result Interface $showparameter was appended.Hidden
When
$show is
true, the query ignores only the
disabled (hidden) enable field via the Extbase query settings. The
\FGTCLB\ reads
$this->settings and passes it to the
repository.
Impact
The change is non-breaking: the new parameter has a default value, so
existing calls keep working unchanged. Projects that extend or replace
Contact should adopt the same signature when overriding
find.
Affected Installations
Only installations that extend or override
\FGTCLB\
need to take the extended signature into account. All other installations
are unaffected.