Important: Extended JobRepository method signatures 

Description 

To support the new "Show hidden records" plugin option, the \FGTCLB\AcademicJobs\Domain\Repository\JobRepository gained an extended and a new method:

  • findByJobType(int $jobType, bool $includeHidden = false): QueryResultInterface — the new optional $includeHidden parameter was appended.
  • findAllJobs(bool $includeHidden = false): QueryResultInterface — new method used on the no-filter listing path in place of the inherited findAll(), so the option can be honoured there as well.

When $includeHidden is true, the query ignores only the disabled (hidden) enable field via the Extbase query settings.

Impact 

The change is non-breaking: the new parameter has a default value and the additional method does not alter existing signatures. Projects that extend or replace JobRepository should adopt the same signatures when overriding these methods.

Affected Installations 

Only installations that extend or override \FGTCLB\AcademicJobs\Domain\Repository\JobRepository need to take the extended signatures into account. All other installations are unaffected.