Bug #20249
closedFlag sectionIndex is not used for "menu of subpages + sections"
0%
Description
According to the documentation, when creating a menu/sitemap of type 7 (menu of subpages + sections), this should include 'submenu' links to all content elements on the page which have the "Index" checkbox set.
However the submenu includes all content elements regardless of the "Index" checkbox.
Bug: when generating the where clause of the SQL, the where clause on the sectionIndex is removed.
How to reproduce:
Having following page tree:
page1
|-- page1.1
| |-- content1 with "Index" set
| `-- content2 with "Index" not set
`-- page1.2
`-- content3 with "Index" not set
Add a plugin menu/sitemap of type "menu of subpages + sections" on page1.
Expected output:
- link to page 1.1
- link to content1
Actual output:
- link to page 1.1
- link to content1
- link to content2
- link to page 1.2
- link to content3
(issue imported from #M10798)
Files