diff --git a/Classes/Domain/Repository/JobRepository.php b/Classes/Domain/Repository/JobRepository.php index 1f58b20c962def6287b77732aecc8d2958a9e8fd..5ca9ee8ade1d49af8c4a743ef869754d079c4f25 100644 --- a/Classes/Domain/Repository/JobRepository.php +++ b/Classes/Domain/Repository/JobRepository.php @@ -226,7 +226,10 @@ class JobRepository extends Repository { } if (isset($filters['filterRemote']) && $filters['filterRemote'] !== '') { - $constraints[] = $query->equals('telecommutePossible', TRUE); + $constraints[] = $query->logicalAnd([ + $query->equals('telecommutePossible', TRUE), + $query->equals('office_work_possible', FALSE) + ]); } if (isset($filters['filterLocation']) && $filters['filterLocation'] !== '0') { diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf index 08e91559a335beae6471d6a8daa7d024c48422e4..284f4a231ca3b2428c11f2bad4636b8fa3190f9b 100644 --- a/Resources/Private/Language/de.locallang.xlf +++ b/Resources/Private/Language/de.locallang.xlf @@ -371,8 +371,8 @@ <target><![CDATA[Standort]]></target> </trans-unit> <trans-unit id="frontend.filter.remote" approved="yes"> - <source><![CDATA[Show only home office jobs]]></source> - <target><![CDATA[Zeige nur Home-Office-Stellen]]></target> + <source><![CDATA[Show fully remote jobs only]]></source> + <target><![CDATA[Zeige nur Stellen komplett im Homeoffice]]></target> </trans-unit> <trans-unit id="frontend.filter.selections.all" approved="yes"> <source><![CDATA[All]]></source> diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index 402eb7023e136247eb004b8713983942ebc24587..109d061f76cd2b97f7570c8caee810d6ce2a4f65 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -280,7 +280,7 @@ <source><![CDATA[Location]]></source> </trans-unit> <trans-unit id="frontend.filter.remote"> - <source><![CDATA[Show only home office jobs]]></source> + <source><![CDATA[Show fully remote jobs only]]></source> </trans-unit> <trans-unit id="frontend.filter.selections.all"> <source><![CDATA[All]]></source> diff --git a/Resources/Private/Language/zh.locallang.xlf b/Resources/Private/Language/zh.locallang.xlf index 9d00e50a6ab6adf5eff56ffda874ad66e22a5d53..ec633834e3b976636815707fbc847d2f4f137a66 100644 --- a/Resources/Private/Language/zh.locallang.xlf +++ b/Resources/Private/Language/zh.locallang.xlf @@ -214,8 +214,8 @@ <target><![CDATA[地点]]></target> </trans-unit> <trans-unit id="frontend.filter.remote" approved="yes"> - <source><![CDATA[Show only home office jobs]]></source> - <target><![CDATA[Show only jobs that can be executed remotely.]]></target> + <source><![CDATA[Show fully remote jobs only]]></source> + <target><![CDATA[Show fully remote jobs only]]></target> </trans-unit> <trans-unit id="frontend.filter.selections.all" approved="yes"> <source><![CDATA[All]]></source> @@ -239,4 +239,4 @@ </trans-unit> </body> </file> -</xliff> \ No newline at end of file +</xliff>