Skip to content
Snippets Groups Projects
Commit a0d9667d authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

Merge branch 'feature_Departments' into 'master'

Feature departments

See merge request !10
parents 49b0c4ab b40af577
No related branches found
No related tags found
1 merge request!10Feature departments
......@@ -42,6 +42,7 @@ use TYPO3\CMS\Extbase\Persistence\Repository;
class JobRepository extends Repository {
const TABLENAME = 'tx_sgjobs_domain_model_job';
const ORDER_BY_TITLE = 1;
const ORDER_BY_CRDATE = 2;
/**
* initializes the object
......@@ -252,6 +253,14 @@ class JobRepository extends Repository {
);
}
if ($ordering === self::ORDER_BY_CRDATE) {
$query->setOrderings(
[
'crDate' => QueryInterface::ORDER_DESCENDING
]
);
}
$constraints = [];
if ($filters['filterCountry'] !== '0' && $filters['filterCountry'] !== NULL) {
......
......@@ -52,6 +52,10 @@
<numIndex index="0">LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.orderBy_2</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.orderBy_3</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
......
......@@ -123,7 +123,7 @@ return [
],
],
'zip' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.zip',
'config' => [
'type' => 'input',
......@@ -132,7 +132,7 @@ return [
],
],
'city' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.city',
'config' => [
'type' => 'input',
......@@ -141,7 +141,8 @@ return [
],
],
'job_id' => [
'exclude' => 0,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.job_id',
'config' => [
'type' => 'input',
......@@ -150,7 +151,7 @@ return [
],
],
'name' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.name',
'config' => [
'type' => 'input',
......@@ -159,7 +160,7 @@ return [
],
],
'street' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.street',
'config' => [
'type' => 'input',
......@@ -168,7 +169,7 @@ return [
],
],
'country' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.country',
'config' => [
'type' => 'input',
......@@ -177,7 +178,7 @@ return [
],
],
'description' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_company.description',
'config' => [
'type' => 'input',
......@@ -186,7 +187,7 @@ return [
],
],
'contact' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.contact',
'config' => [
'type' => 'select',
......
......@@ -45,7 +45,7 @@ return [
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.language',
'config' => [
'type' => 'select',
......@@ -59,7 +59,7 @@ return [
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.l18n_parent',
'config' => [
'type' => 'select',
......@@ -84,21 +84,21 @@ return [
]
],
'pid' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'PID',
'config' => [
'type' => 'none',
]
],
'hidden' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.starttime',
'config' => [
......@@ -114,7 +114,7 @@ return [
],
],
'endtime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.endtime',
'config' => [
......@@ -130,7 +130,7 @@ return [
],
],
'title' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.title',
'config' => [
'type' => 'input',
......@@ -139,7 +139,7 @@ return [
],
],
'first_name' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.first_name',
'config' => [
'type' => 'input',
......@@ -148,7 +148,7 @@ return [
],
],
'last_name' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.last_name',
'config' => [
'type' => 'input',
......@@ -157,7 +157,7 @@ return [
],
],
'street' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.street',
'config' => [
'type' => 'input',
......@@ -166,7 +166,7 @@ return [
],
],
'city' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.city',
'config' => [
'type' => 'input',
......@@ -175,7 +175,7 @@ return [
],
],
'zip' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.zip',
'config' => [
'type' => 'input',
......@@ -184,7 +184,7 @@ return [
],
],
'phone' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.phone',
'config' => [
'type' => 'input',
......@@ -193,7 +193,7 @@ return [
],
],
'email' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.email',
'config' => [
'type' => 'input',
......@@ -202,7 +202,7 @@ return [
],
],
'hide_in_frontend' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_contact.hide_in_frontend',
'config' => [
'type' => 'check',
......
......@@ -67,7 +67,7 @@ return [
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.language',
'config' => [
'type' => 'select',
......@@ -81,7 +81,7 @@ return [
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.l18n_parent',
'config' => [
'type' => 'select',
......@@ -106,21 +106,21 @@ return [
]
],
'pid' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'PID',
'config' => [
'type' => 'none',
]
],
'hidden' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.starttime',
'config' => [
......@@ -136,7 +136,7 @@ return [
],
],
'endtime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.endtime',
'config' => [
......@@ -152,7 +152,7 @@ return [
],
],
'title' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_department.title',
'config' => [
'type' => 'input',
......
......@@ -47,8 +47,14 @@ return [
'palette_location_contact' => ['showitem' => 'company, contact', 'canNotCollapse' => 1]
],
'columns' => [
'crdate' => [
'exclude' => FALSE,
'config' => [
'type' => 'passthrough'
]
],
'sys_language_uid' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.language',
'config' => [
'type' => 'select',
......@@ -57,7 +63,7 @@ return [
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.l18n_parent',
'config' => [
'type' => 'select',
......@@ -82,21 +88,21 @@ return [
]
],
'pid' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'PID',
'config' => [
'type' => 'none',
]
],
'hidden' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.starttime',
'config' => [
......@@ -112,7 +118,7 @@ return [
],
],
'endtime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.endtime',
'config' => [
......@@ -128,7 +134,7 @@ return [
],
],
'title' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.title',
'config' => [
'type' => 'input',
......@@ -137,7 +143,8 @@ return [
],
],
'job_id' => [
'exclude' => 0,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.jobId',
'config' => [
'type' => 'input',
......@@ -146,7 +153,8 @@ return [
],
],
'department' => [
'exclude' => 0,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.department',
'config' => [
'type' => 'select',
......@@ -162,28 +170,30 @@ return [
],
],
'featured_offer' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.featuredOffer',
'config' => [
'type' => 'check',
],
],
'hide_apply_by_email' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.hideApplyByEmail',
'config' => [
'type' => 'check',
],
],
'hide_apply_by_postal' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.hideApplyByPostal',
'config' => [
'type' => 'check',
],
],
'start_date' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.start_date',
'config' => [
'type' => 'input',
......@@ -197,7 +207,7 @@ return [
],
],
'alternative_start_date' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.alternative_start_date',
'config' => [
'type' => 'input',
......@@ -206,7 +216,7 @@ return [
],
],
'task' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.task',
'config' => [
'type' => 'text',
......@@ -217,7 +227,7 @@ return [
'defaultExtras' => 'richtext[]'
],
'qualification' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.qualification',
'config' => [
'type' => 'text',
......@@ -228,7 +238,7 @@ return [
'defaultExtras' => 'richtext[]'
],
'description' => [
'exclude' => 0,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.description',
'config' => [
'type' => 'text',
......@@ -239,7 +249,8 @@ return [
'defaultExtras' => 'richtext[]'
],
'company' => [
'exclude' => 0,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.company',
'config' => [
'type' => 'select',
......@@ -261,7 +272,8 @@ return [
]
],
'contact' => [
'exclude' => 0,
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.contact',
'config' => [
'type' => 'select',
......
......@@ -49,7 +49,7 @@ $tx_sgjobs_domain_model_job_application = [
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.language',
'config' => [
'type' => 'select',
......@@ -58,7 +58,7 @@ $tx_sgjobs_domain_model_job_application = [
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.l18n_parent',
'config' => [
'type' => 'select',
......@@ -83,21 +83,21 @@ $tx_sgjobs_domain_model_job_application = [
]
],
'pid' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'PID',
'config' => [
'type' => 'none',
]
],
'hidden' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.starttime',
'config' => [
......@@ -113,7 +113,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'endtime' => [
'exclude' => 1,
'exclude' => TRUE,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.endtime',
'config' => [
......@@ -129,7 +129,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'job_id' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.job_id',
'config' => [
'type' => 'input',
......@@ -138,7 +138,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'job' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.job',
'config' => [
'type' => 'select',
......@@ -159,7 +159,7 @@ $tx_sgjobs_domain_model_job_application = [
]
],
'job_title' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.job_title',
'config' => [
'type' => 'input',
......@@ -168,7 +168,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'company' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.company',
'config' => [
'type' => 'select',
......@@ -190,7 +190,7 @@ $tx_sgjobs_domain_model_job_application = [
]
],
'gender' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.gender',
'config' => [
'type' => 'input',
......@@ -199,7 +199,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'first_name' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.first_name',
'config' => [
'type' => 'input',
......@@ -208,7 +208,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'last_name' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.last_name',
'config' => [
'type' => 'input',
......@@ -217,7 +217,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'street' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.street',
'config' => [
'type' => 'input',
......@@ -226,7 +226,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'city' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.city',
'config' => [
'type' => 'input',
......@@ -235,7 +235,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'zip' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.zip',
'config' => [
'type' => 'input',
......@@ -253,7 +253,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'nationality' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.nationality',
'config' => [
'type' => 'input',
......@@ -262,7 +262,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'education' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.education',
'config' => [
'type' => 'input',
......@@ -271,7 +271,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'birth_date' => [
'exclude' => 1,
'exclude' => TRUE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.birth_date',
'config' => [
'type' => 'input',
......@@ -280,7 +280,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'phone' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.phone',
'config' => [
'type' => 'input',
......@@ -289,7 +289,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'mobile' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.mobile',
'config' => [
'type' => 'input',
......@@ -298,7 +298,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'email' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.email',
'config' => [
'type' => 'input',
......@@ -307,7 +307,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'message' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.message',
'config' => [
'type' => 'text',
......@@ -316,7 +316,7 @@ $tx_sgjobs_domain_model_job_application = [
],
],
'cover_letter' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.cover_letter',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'cover_letter',
......@@ -325,7 +325,7 @@ $tx_sgjobs_domain_model_job_application = [
),
],
'certificate' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.certificate',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'certificate',
......@@ -334,7 +334,7 @@ $tx_sgjobs_domain_model_job_application = [
),
],
'cv' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.cv',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'cv',
......@@ -343,7 +343,7 @@ $tx_sgjobs_domain_model_job_application = [
),
],
'privacy_policy' => [
'exclude' => 0,
'exclude' => FALSE,
'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.privacy_policy',
'config' => [
'type' => 'check',
......
......@@ -8,7 +8,7 @@ Repository: https://gitlab.sgalinski.de/typo3/sg_jobs
Please report bugs here: https://gitlab.sgalinski.de/typo3/sg_jobs
TYPO3 version: >7.6
TYPO3 version: >8.7
## About
This extension provides job application functionality for a TYPO3 installation.
......@@ -76,3 +76,15 @@ access from the .htaccess file. Example:
```
RedirectMatch 403 ^/fileadmin/JobApplication/.*$
```
## Migration from version 1 to version 2
If you update from sg_job version 1, you need to execute the Upgrade Wizard, that migrates the old area field.
To do so, please visit the Install Tool and click on Upgrade Wizards. Check the Job Upgrade Wizard and execute it.
This Wizard will migrate your area data into department records.
Also please be aware of changes to the Fluid template regarding the area -> department migration and change the area
occurences of variables in the template to department records accordingly.
This version also introduces correct exclude field configurations for the tables, so check your backend user
and backend usergroup permissions and adjust them accordingly.
......@@ -213,6 +213,10 @@
<source><![CDATA[By title]]></source>
<target><![CDATA[Nach Jobtitel]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.orderBy_3">
<source><![CDATA[By creation date]]></source>
<target><![CDATA[Nach Erstellungsdatum]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.plugin_options" approved="yes">
<source><![CDATA[Joblist plugin options]]></source>
<target><![CDATA[Joblist Plugin-Optionen]]></target>
......
......@@ -165,6 +165,9 @@
<trans-unit id="tx_sgjobs_domain_model_job.orderBy_2">
<source><![CDATA[By title]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.orderBy_3">
<source><![CDATA[By creation date]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.plugin_options">
<source><![CDATA[Joblist plugin options]]></source>
</trans-unit>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment