[BUGFIX] Respect sorting in section menus 03/60303/3
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 21 Mar 2019 10:55:21 +0000 (11:55 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 22 Mar 2019 20:21:12 +0000 (21:21 +0100)
The section menus must respect the sorting of content elements.

Resolves: #87975
Releases: master, 9.5
Change-Id: Ib6e785a74d7267edf5fdb1f310c47709f663ca99
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60303
Tested-by: Josef Glatz <josefglatz@gmail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Josef Glatz <josefglatz@gmail.com>
Reviewed-by: Wolfgang Klinger <wolfgang@wazum.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/fluid_styled_content/Configuration/TypoScript/ContentElement/MenuSection.typoscript
typo3/sysext/fluid_styled_content/Configuration/TypoScript/ContentElement/MenuSectionPages.typoscript

index b6f0610..68fa6cd 100644 (file)
@@ -32,6 +32,7 @@ tt_content.menu_section {
                     pidInList.field = uid
                     as = content
                     where = sectionIndex = 1
+                    orderBy = sorting
                     dataProcessing {
                         10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
                         10 {
index 2a7dc6a..f9ffaca 100644 (file)
@@ -20,6 +20,7 @@ tt_content.menu_section_pages {
                 20 {
                     table = tt_content
                     pidInList.field = uid
+                    orderBy = sorting
                     as = content
                     dataProcessing {
                         10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor