[BUGFIX] Use DBAL Restrictions for index_config queries 55/52755/3
authorBenni Mack <benni@typo3.org>
Thu, 11 May 2017 06:26:58 +0000 (08:26 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 11 May 2017 12:00:06 +0000 (14:00 +0200)
commit24fda20af14832202644c20b2b3e32a810d618d0
tree0d6c04e9d2e96cf659c10f1dc206eb6fe1a9cdf3
parent1e37192277793b503b7f6a71a899ce61d182d282
[BUGFIX] Use DBAL Restrictions for index_config queries

The IndexSearch repository calls $TSFE->sys_page->enableFields
for queries on index_config which has very static information
(deleted/hidden) which the default restriction container handles.

Changing this code was simply forgotton to migrate to the
restriction container.

Resolves: #81188
Releases: master, 8.7
Change-Id: I159b4c2cf898e97b0e92fd2a57bcd30de0806146
Reviewed-on: https://review.typo3.org/52755
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php