Issue Bug Closed

#88705excludeUidList reduces special.limit yield

Isik Akgün 07/09/19, 10:30 updated 09/29/26, 21:00

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

  1. Benni Mack commented <span data-processor="relativetime" data-value="2021-12-23T11:16:13+00:00" > 12/23/21, 11:16 </span>

    Hey,

    I recommend using “maxItems” instead, and we should remove “limit” completely.

  2. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-09-29T21:00:07+00:00" > 09/29/26, 21:00 </span>

    special.limit restricts the number of pages fetched from the database, before pages of excludeUidList are removed. To limit the number of items in the rendered menu, use maxItems, which is applied after all filters, e.g. special.limit = 10 together with maxItems = 3.