[BUGFIX] Use DBAL Restrictions for index_config queries 65/52765/2
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:29:00 +0000 (14:29 +0200)
commit5a35cc7a7da7617af1c204c63279771e0a4a20b7
tree4351186942b5600598d3f71681b49fc73c90ca7e
parent643ac435da903a6bdae6abae127765b19d802611
[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/52765
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php