Skip to content
Snippets Groups Projects
Commit 6c6cae4a authored by Georg Ringer's avatar Georg Ringer Committed by Tymoteusz Motylewski
Browse files

[BUGFIX] Add sorting to menu of categorized content

Sort content elements of menu type "categorized content" by the
sorting value.

This improves the output if all content elements are from the same page.

Resolves: #84739
Releases: master
Change-Id: Ib1701c8403f1e41fbdc9dd895a262c692cd73827
Reviewed-on: https://review.typo3.org/56688


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarKay Strobach <typo3@kay-strobach.de>
Tested-by: default avatarKay Strobach <typo3@kay-strobach.de>
Reviewed-by: default avatarJan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: default avatarJan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Tested-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
parent e45acadb
Branches
Tags
No related merge requests found
......@@ -18,6 +18,7 @@ tt_content.menu_categorized_content {
join.wrap = sys_category_record_mm ON uid = sys_category_record_mm.uid_foreign AND sys_category_record_mm.uid_local IN(|)
where.data = field:category_field
where.wrap = tablenames='tt_content' and fieldname='|'
orderBy = tt_content.sorting
as = content
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
......
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