Skip to content
Snippets Groups Projects
Commit 3d171d0d authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[BUGFIX] Fix detection of local settings in settings overview

Site local settings (defined in the sites settings.yaml file)
need to be taken into account in the site overview, only
if they are based on definitions. Therefore the setting
map (which is based on definitions) has to be evaluated
instead of the flat settings map (which contains all
settings, defined and legacy anonymous settings).

Releases: main
Resolves: #104886
Related: #104794
Change-Id: I49f8d01c3947302ff75a6aac0e3e64cdeca819c8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85998


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
parent 9ac422fc
Branches
Tags
No related merge requests found
......@@ -23,7 +23,7 @@
</p>
</details>
<f:if condition="{c.localSettings.allFlat->f:count()} > 0">
<f:if condition="{c.localSettings.map->f:count()} > 0">
<details open name="details-{c.site.identifier}">
<summary><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_sitesettings.xlf:overview.customSettingsSummary" arguments="{0: '{c.localSettings.map->f:count()}'}"/></summary>
<p>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment