[!!!][FEATURE] TypoScript select is now translated by default 70/41370/11
authorBenjamin Mack <benni@typo3.org>
Wed, 15 Jul 2015 21:28:05 +0000 (23:28 +0200)
committerBenjamin Mack <benni@typo3.org>
Thu, 16 Jul 2015 15:58:44 +0000 (17:58 +0200)
commit5553023ad3c654640d4c06e4dceb2f7a8a15a595
treed782c36a51a248e5ef0fecb97f8770754481b80f
parent62af8f428daeb2898ab9481a082cb913121ba057
[!!!][FEATURE] TypoScript select is now translated by default

The TypoScript .select option which is used for Content Objects
like "CONTENT", has the property "languageField". This allows
to set the field that has the information about the sys_language_uid
value in order to have only records shown that are translated or
on -1 (show in all languages).

In the past, this option had to be set explicitly but is now turned
on by default, but can turned off, if this behavior is not desired.

Besides this patch adds some basic unit tests for the function and
resolves and issue with groupBy which popped up because of the tests.

Resolves: #68191
Releases: master
Change-Id: I36765d9e1e8a8b49fdc05700caa1e2e3f613a06d
Reviewed-on: http://review.typo3.org/41370
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-68191-TypoScriptSelectOptionLanguageFieldIsActiveByDefault.rst [new file with mode: 0644]
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php