itx-informationssysteme / jobapplications

This TYPO3 extension enables you to manage job postings, provides you with an application form and a backend module to manage incoming applications.
https://extensions.typo3.org/extension/jobapplications/
Other
7 stars 10 forks source link

Override Constraint model to apply different filters #143

Open instruccionesaldorso opened 4 months ago

instruccionesaldorso commented 4 months ago

I'm using TYPO3 10.4 and latest compatible version for this EXT:jobapplications extension (1.0.7). Following the recommendations under this guide https://docs.typo3.org/p/itx/jobapplications/1.0/en-us/Developer/Index.html, I would like to change the filters: for example, adding a search word. There it's recommended to override the "Constraint" model. How would you do achieve that? And more important: even if you have the new model for "Constraint" working on and replacing the old one, the signature of the listAction here https://github.com/itx-informationssysteme/jobapplications/blob/1.0.7/Classes/Controller/PostingController.php#L110 needs the old model. I'm a bit lost how to achieve my goal. Any help would be much appreciated. Thanks for the helpful extension. It really fits our needs! Planning to upgrade soon to TYPO3 11 and 12 and keep using it :)

benjasper commented 1 week ago

Hi sorry, for the massive delay. The way to achieve this, is by inheriting the old Constraint Model. Then the Signature will be fine.