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

Order postings manually #135

Open hschletz opened 8 months ago

hschletz commented 8 months ago

We'd like to order postings manually so that we can move the most urgent postings to the top of the list. I got it basically working:

  1. In Configuration/TCA/tx_jobapplications_domain_model_posting.php, add 'sortby' => 'sorting' to the ctrl section.
  2. Run database update to create the column
  3. In Configuration/TypoScript/setup.typoscript, adjust settings.list.ordering to field=sorting and ordering=ascending.

This works for us (postings can now be moved up/down in the backend), with a few drawbacks:

I'm new to all this stuff, so I'm not sure if there is is a better way to achieve this. Thus no PR ;-)