From ae64405cefda1284ba1d9b7a21f12c4c74b31250 Mon Sep 17 00:00:00 2001
From: Torsten Oppermann <torsten@sgalinski.de>
Date: Wed, 10 Jan 2018 16:36:24 +0100
Subject: [PATCH] [TASK] Fixing selection of hidden contacts

---
 Configuration/TCA/tx_sgjobs_domain_model_company.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Configuration/TCA/tx_sgjobs_domain_model_company.php b/Configuration/TCA/tx_sgjobs_domain_model_company.php
index e808ef80..5946e072 100644
--- a/Configuration/TCA/tx_sgjobs_domain_model_company.php
+++ b/Configuration/TCA/tx_sgjobs_domain_model_company.php
@@ -176,6 +176,7 @@ return [
 				'renderType' => 'selectSingle',
 				'internal_type' => 'db',
 				'foreign_table' => 'tx_sgjobs_domain_model_contact',
+				'foreign_table_where' => 'tx_sgjobs_domain_model_contact.hidden = FALSE',
 				'size' => 1,
 				'maxitems' => 1,
 				'multiple' => 0,
-- 
GitLab