Project

General

Profile

Actions

Bug #88705

open

excludeUidList reduces special.limit yield

Added by Isik Akgün over 5 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2019-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
typoscript, excludeUidList special special.limit MenuProcessor
Complexity:
Is Regression:
Sprint Focus:

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.

I'm not sure if this is the intention, when using excludeUid and special.limit.

Actions #1

Updated by Benni Mack almost 3 years ago

Hey,

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

Actions

Also available in: Atom PDF