From 0d757e715c0fdab8a82f1329ac562b5c04cf3c25 Mon Sep 17 00:00:00 2001 From: Michael Claesson Date: Mon, 13 Oct 2025 11:20:01 +0200 Subject: [PATCH] fix: remove duplicates for employmentType and datePosted --- library/Controller/SingularJobPosting.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/library/Controller/SingularJobPosting.php b/library/Controller/SingularJobPosting.php index eb2d1a4f99..ec7b1429bd 100644 --- a/library/Controller/SingularJobPosting.php +++ b/library/Controller/SingularJobPosting.php @@ -154,20 +154,6 @@ private function populateInformationList(): void ]; } - if ($this->post->getSchemaProperty('employmentType')) { - $this->data['informationList'][] = [ - 'label' => $this->data['lang']->employmentType, - 'value' => $this->post->getSchemaProperty('employmentType') - ]; - } - - if ($this->post->getSchemaProperty('datePosted')) { - $this->data['informationList'][] = [ - 'label' => $this->data['lang']->datePosted, - 'value' => $this->post->getSchemaProperty('datePosted')?->format('Y-m-d') - ]; - } - $addressRegion = $this->post->getSchemaProperty('employmentUnit')['address']['addressRegion'] ?? null; $addressLocality = $this->post->getSchemaProperty('employmentUnit')['address']['addressLocality'] ?? null;