#88705excludeUidList reduces special.limit yield
Description
When I use following code
50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
50 {
special = updated
special.value = 164
special.mode = lastUpdated
excludeDoktypes = 1
excludeUidList = current
special.limit = 3
as = newspages
}
}
the exludeUidList reduces the yield of my query.
When my current page is one of the results i only get 2 pages back, instead 3.
I solved this problem via <f:for> in html but i think this can’t be the solution.</f:for>
I’m not sure if this is the intention, when using excludeUid and special.limit.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-09-29T21:00:07+00:00" > 09/29/26, 21:00 </span>special.limitrestricts the number of pages fetched from the database, before pages ofexcludeUidListare removed. To limit the number of items in the rendered menu, usemaxItems, which is applied after all filters, e.g.special.limit = 10together withmaxItems = 3.
Hey,
I recommend using “maxItems” instead, and we should remove “limit” completely.